2022/12/14分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
Iterate over all records in Transaction#before_commit_records
activerecord/lib/active_record/connection_adapters/abstract/transaction.rb
の修正です。
nested attributeで指定したassociationを更新した場合にそのassociation経由でのtouch処理が行われないバグを修正した、Execute the before_committed! callbacks on the most recent copy of the recordの影響で、association更新後のcallbackが正しく実行されないケースがあったのを修正しています。
Fix parallel testing databases
activerecord/lib/active_record/tasks/database_tasks.rb
の修正です。
rake task内のconnection取得処理専用のメソッドに切り出した、Move calls on Base connection to methods for rake tasksの影響で、parallel testing 実行時にテストのセットアップ処理でエラーになってしまう事があったのを修正しています。
Allow f.select
to be called with a single hash containing options and HTML options
actionview/lib/action_view/helpers/tags/base.rb
の修正です。
select
をオプションとHTMLオプションを含む単一のハッシュで呼び出せるよう修正しています。例えば、HTMLのrequired
属性を指定したい場合、
<%= select :post, :author, authors, {}, required: true %>
とする必要があったのを、
<%= select :post, :author, authors, required: true %>
と定義出来るようになっています。
Add missing end to code example [ci-skip]
activerecord/lib/active_record/associations.rb
のdocの修正です。
associationのdoc内のexampleコードでend
が不足している箇所があったのを修正しています。
Lock sqlite3 gem to 1.4 to run bug report templates
bug report templatesの修正です。
sqlite3 gemのバージョンを1.4系に固定しています。1.5系だとCIでgemインストール時にエラーになってしまう事がある為。
Parallelization test improvements
activesupport/lib/active_support/test_case.rb
のdoc、railties/test/application/test_runner_test.rb
の修正ですです。
parallel testに関するdocのグラマーの修正、parallel testの改善(PARALLEL_WORKERS=1
を指定した場合のテストの追加、テスト内で使用しているテストがpassするよう修正)を行っています。
Add nodoc to Mail
module [ci-skip]
Action Mailboxのdocの修正です。
Action Mailboxが独自に拡張しているMail
moduleがAPI docに表示されないよう修正しています。