2020/11/21分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
Fixed odd behavior of inverse_of with multiple belongs_to to same class
activerecord/lib/active_record/reflection.rb
の修正です。
同じクラスに対してbelongs_to
が複数定義されている場合に、inverse処理で誤った値が指定されてしまうバグがあったのを修正しています。
Inline constructable checking for singular associations
activerecord/lib/active_record/associations/builder/singular_association.rb
、
activerecord/lib/active_record/reflection.rb
の修正です。
singular associationsでのconstructableかどうかのチェックをインラインで行うよう修正しています。