以下の内容はhttps://y-yagi.hatenablog.com/entry/2022/07/09/043459より取得しました。


rails commit log流し読み(2022/07/08)

2022/07/08分のコミットです。

CHANGELOGにのったコミットは以下の通りです。

actionview/CHANGELOG.md

activejob/CHANGELOG.md


Merge pull request #45188 from tiramizoo/include-seconds-in-datetime-local-field

Action Viewの修正です。

datetime_local_fieldにsecondsを出力するかどうかを指定する為のinclude_secondsオプションを追加しています。falseを指定するとsecondsが出力されなくなるようになっています。

@user.born_on = Time.current
datetime_field("user", "born_on", include_seconds: false)
# => <input id="user_born_on" name="user[born_on]" type="datetime-local" value="2014-05-20T14:35" />

Add documentation to customize full_messages on ActiveModel and ActiveRecord

rails guideのConfiguring Rails Applicationsの修正です。

ActiveModel::Error#full_messageのformatをカスタマイズする方法についての説明を追加しています。


Merge pull request #45528 from gmcgibbon/job_parent_option

Active Jobの修正です。

jobのgeneratorにparent classを指定する為の--parentオプションを追加しています。




以上の内容はhttps://y-yagi.hatenablog.com/entry/2022/07/09/043459より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14