2016/10/23分のコミットです。
CHANGELOGへの追加はありませんでした。
Merge pull request #26863 from claudiob/revert-26826
activesupport/lib/active_support/hash_with_indifferent_access.rbの修正です。
activesupport/lib/active_support/hash_with_indifferent_access.rbでactive_support/core_ext/hash/indifferent_accessをrequireするよう対応した、Add missing require in active_support/hash_with_indifferent_access.rbをrevertしています。
active_support/core_ext/hash/indifferent_accessの方でactive_support/hash_with_indifferent_accessをrequireするようになっており、activesupport/lib/active_support/hash_with_indifferent_access.rbでactive_support/core_ext/hash/indifferent_accessをrequireすると、requireが循環してしまい、Rubyのwarning(warning: loading in progress, circular require considered harmful)が出てしまう為。
代わりに、ActiveSupport::HashWithIndifferentAccessのdocに、Rails外で#with_indifferent_accessを使用したい場合、明示的にactive_support/core_ext/hash/indifferent_accessをrequireする必要がある旨説明を追加しています。
Update mysql adapter error message when disconnected
activerecord/test/cases/adapters/mysql2/connection_test.rbの修正です。
MySQLのclientのconnectionが接続されてない場合に出力されるエラーメッセージを更新しています。
mysql2 gemの方でエラーメッセージが変更されてしまい、そのエラーメッセージが出力される事を確認するテストがコケるようになってしまった為。参考:Move macro REQUIRE_CONNECTED to client.c (#798) · brianmario/mysql2@f14023f
Update mysql2 version in Gemfile.lock
Gemfile.lockの修正です。
mysql2 gemのバージョンを0.4.5に更新しています。
Revert "Made ActiveRecord consistently use ActiveRecord::Type (not"
Active Recordの中でtypeクラスを参照するのにActiveModel namespace配下のクラスを参照している箇所があったのをActiveRecord namespace配下のクラスを参照するよう統一した、Made ActiveRecord consistently use ActiveRecord::Type (not · rails/rails@671eb74をrevertしています。
特に意味がある変更では無い、と判断された為revertされたようです。
Add info about updating locking column value
activerecord/lib/active_record/locking/optimistic.rbのdocの修正です。
ActiveRecord::Locking::Optimistic moduleのdocに、lock用のカラムの値を更新する時はoptimistic lockingは動作しない旨説明を追加しています。