2014/05/31分のコミットです。
CHANGELOGへの追加はありませんでした。
Allow specifying a default value in overloaded properties
activerecord/lib/active_record/properties.rb
の修正です
property
にデフォルト値を設定できるよう対応しています。
Update guides to mention 3.2.18.
rails guideのA Guide for Upgrading Ruby on Rails
の修正です。
3.2.17
-> 3.2.18
へ修正しています。
Rename attribute related instance variables to better express intent
ActiveRecord::AttributeMethods
の修正です。
@attributes
を@raw_attributes
に変更しています。より適切な名前への変更、という事のようです。
Update some bad test cases for serialized columns
activerecord/test/cases/serialized_attribute_test.rb
の修正です。
serializedカラムのテストで、テストしたかった内容とコードがあって無かったのを修正しています。
Add missing test case for writing unknown attributes
activerecord/test/cases/attribute_methods_test.rb
の修正です。
存在しないアトリビュートに値を設定した時のテストを追加しています。
HashWithIndifferentAccess#dup doc [ci skip]
HashWithIndifferentAccess#dup
のdocの修正です。
Returns an exact copy of the hash.
となっていたのですが、exact copy
は紛らわしい、という事でReturns a shallow copy of the hash.
に修正しています。
Clear all caches calculated based on @columns
when @columns
changes
activerecord/lib/active_record/properties.rb
の修正です。
@column
の値に変更があった場合、column
に関するインスタンス変数を全てクリアするよう修正しています。再計算する為ですね。