2018/06/06分のコミットです。
CHANGELOGへの追加はありませんでした。
PERF: avoid allocating column names where possible
activemodel/lib/active_model/attributes.rb
、
activerecord/lib/active_record/attribute_methods.rb
、
activerecord/lib/active_record/result.rb
の修正です。
column nameを生成する際に、dup
+ freeze
していたのを、String#-@
を使用するように修正しています。不要なObjectの生成を減らせるようにする為。
Child joins should be aliased when merging relations
activerecord/lib/active_record/associations/join_dependency.rb
の修正です。
relationsをmergeする際に、子のJOIN処理でaliasを指定するよう修正しています。aliasの指定が無いとtableやfieldsが重複した場合に、エラーになってしまう為。
Fix force equality checking not to break the serialized attribute with Array
activerecord/lib/active_record/type/serialized.rb
の修正です。
predicateを生成する為の型チェック処理を修正した、Make force equality checking more strictly not to allow serialized attributeの影響で、serialized attributeにArray
が含まれていた場合に値が取得出来ないバグが発生していたのを修正しています。