なるようになるブログ

読書感想文かrailsについてかrubyについてか

rails commit log流し読み(2022/01/27)

2022/01/27分のコミットです。

CHANGELOGへの追加はありませんでした。


Properly eager load the JoinDependency autoloads

activerecord/lib/active_record/associations.rbの修正です。

associationのeager_load実行時に、JoinDependencyeager_loadも実行されるよう修正しています。boot時にJoinDependencyのload処理が実行されるようにする為。


Prefer I18n over i18n when referencing internationalization

rails guideのRails Internationalization (I18n) APIの修正です。

i18nI18nに修正しています。


Merge PR #44171

activerecord/lib/active_record/connection_adapters/mysql/schema_dumper.rbの修正です。

MySQLのschema dumperでdatetime型のprecisionが正しく出力されないバグがあったのを修正しています。


add assertion helpers for Active Job integration

activejob/test/integration/queuing_test.rbの修正です。

assertionに失敗した際に、job id等の補足情報を出力するよう修正しています。


Merge pull request #43566 from shunichi/fix-typos-and-remove-unused-options

actionview/lib/action_view/helpers/date_helper.rbの修正です。

ドキュメントのオプション名の誤りの修正や、ActionView::Helpers::DateTimeSelectorから使用していないオプションの削除等を行っています。


Display invalid value in error (#44255)

activerecord/lib/active_record/core.rbの修正です。

Active Recordのstrict_loading!でエラーになった際に、誤っいているオプションの値をエラーメッセージに含むよう修正しています。