2014/06/02分のコミットです。
CHANGELOGにのったコミットは以下の通りです(詳細は本文参照)。
Merge pull request #14881 from robin850/patch-19
railties/test/generators/shared_generator_tests.rb
の修正です。
テスト実行時にbundlerのエラーが起きたときに、エラー情報隠蔽するよう対応しています。
Don't change values in @raw_attributes
during serialization
activerecord/lib/active_record/attribute_methods/serialization.rb
の修正です。
serialization処理中で@raw_attributes
の値を変更しないよう修正しています。
Remove most code related to serialized properties
ConnectionAdaptersの修正です。
serialized propertiesに関する処理を削除しています。
`model.serialized == model.reload.serialized`
上記結果がtrueになるようになっています。
Update documentation to reflect unsubscription with name.
ActiveSupport::Notifications.unsubscribe
メソッドの引数名の変更とdocの追加です。
引数名をargs
->subscriber_or_name
に修正しています。
Remove docs regarding grouping multiple values, as we should avoid
rails guideのActive Record Query Interface
の修正です。
不要なスペースと重複している記述を削除しています。
:nail_care: for migrations guide from #15457 [ci skip]
rails guideのActive Record migrations
の修正です。
先日追加されたChanging Columns
項について、シングルクォートの追加、記述の調整等行っています。
Avoid looping through subscribers when unsubscribing with a subscriber object.
ActiveSupport::Notifications.unsubscribe
メソッドの修正です。
unsubscribe
メソッドの引数の型がsubscriber objectだった場合、ループ処理を行わずに@subscribers
から削除するよう修正しています。
New records should remain new after yaml serialization
activerecord/lib/active_record/core.rb
とactiverecord/lib/active_record/persistence.rb
の修正です。
yaml serializationした後にでもnew record
の状態を保持しておくよう修正しています。
うーん。ちょっとユースケースが思いつかない…。
Feature requests should be made on the mailing list, not submitted to
各moduleのREADMEの修正です。
バグについてはgithubのissueで行っていますが、 Feature requestsについては、mailing listで議論をしている旨説明を追加しています。
mailing listはこちら。
pg, inline casting methods into OID::Type
objects.
PostgreSQLのConnectionAdapterの修正です。
インラインでやっていたキャスト処理を OID::Type
objectsに移動しています。
test pg, add basic test cases for point datatype.
activerecord/test/cases/adapters/postgresql/geometric_test.rb
の修正です。
point datatypeについてのテストを追加しています。
activerecord/lib/active_record/type/value.rb
のdocの修正です。
typoを修正しています。