2024/09/11分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
Fix .left_outer_joins
when multiple associations have the same child.
activerecord/lib/active_record/associations/join_dependency.rb
、
activerecord/lib/active_record/associations/join_dependency/join_association.rb
の修正です。
left_outer_joins
に、同じ子associationを持つ異なるassociationを複数指定した場合に、指定したassociationが全てjoinされない(1つだけjoinされる)バグがあったのを修正しています。
Enable DependencyTracker to evaluate interpolated paths (#50944)
Action Viewの修正です。
ActionView::DependencyTracker
で式展開を使用しているtemplate(e.g. render "maintenance_tasks/runs/info/#{run.status}"
)を依存関係として解釈出来てなかったのを、上記templateも依存関係の対象として扱えるよう修正しています。
Update reference from db:test:prepare
to use test:db
instead
rails guideのTesting Rails Applications
の修正です。
テスト用のDBのセットアップの手順にdb:test:prepare
を使用している箇所が残っていたのを、test:db
を使用するよう修正しています。
Set usec 0 to prevent rounding errors with external services when
activesupport/lib/active_support/testing/time_helpers.rb
の修正です。
travel_to
にString
またはDateTime
のインスタンスを指定した場合に、with_usec
オプションがfalseでも、usecの値が0にならないバグがあったのを修正しています。