2023/03/02分のコミットです。
CHANGELOGへの追加はありませんでした。
Merge pull request #47534 from Shopify/fix-polymorphic-has-many-through-assignments
activerecord/lib/active_record/associations/has_many_through_association.rb
の修正です。
polymorphicを使用しているhas many through associationに対してrecordとsource_typeを一緒にassignした場合に、正しくassociationの設定が行われないバグがあったのを修正しています。
Merge pull request #47541 from Shopify/has-many-through-assign-with-query-constraints
activerecord/lib/active_record/associations/has_many_through_association.rb
の修正です。
composite foreign keyを使用しているhas_many through associationのassignを行えるよう修正しています。
Fix has_many through association assginments with custom scope and custom joining association name
activerecord/lib/active_record/associations/has_many_through_association.rb
の修正です。
has_many through association + scopeを変更 + joinするassociation nameを変更している場合に、associationへのassing処理が正しく行えないバグがあったのを修正しています。
Merge pull request #47259 from skipkayhil/hm-regenerate-dummies
Active StorageやAction Textで使用しているテスト用のdummy applicationを最新のRailsで作り直しています。