2016/10/26分のコミットです。
CHANGELOGへの追加はありませんでした。
Merge pull request #26851 from Gaurav2728/update-kindlerb
Gemfile
、guides/Rakefile
の修正です。
kindlerb
のバージョンを1.0.1
に更新しています。
activesupport/lib/active_support/cache/strategy/local_cache.rb
の修正です。
メソッドとメソッドの間に空行を追加しています。
activerecord/lib/active_record/reflection.rb
の修正です。
ActiveRecord::Reflection::PolymorphicReflection
の親クラスをThroughReflection
からAbstractReflection
に変更しています。PolymorphicReflection
ではThroughReflection
のメソッドを使用していない為。
Ensure #transform_values
of HWIDA to return HWIDA
activesupport/lib/active_support/hash_with_indifferent_access.rb
の修正です。
ActiveSupport::HashWithIndifferentAccess
に#transform_values
メソッドを追加しています。
元々は親クラスであるHash
の#transform_values
メソッドをそのまま使っていたのですが、
- Ruby 2.4からRuby本体に
Hash#transform_values
が追加された - RailsでもRuby本体に
Hash#transform_values
が定義されていたらそちらを使うようにした - Ruby本体の
Hash#transform_values
は処理をする際に、Hash
のインスタンスを使用する(メソッドが定義されているクラスではない)
為、HashWithIndifferentAccess#transform_values
で期待通りの値が取得出来なくなってしまった為、HashWithIndifferentAccess
自体に#transform_values
を追加し対応したようです。
Update HABTM documentation in guides
rails guideのActive Record Associations
の修正です。
Additional Column Methods
の項にあった、不要なrecord削除時のコールバック処理の説明について削除しています。