2017/09/07分のコミットです。
CHANGELOGへの追加はありませんでした。
actionpack/CHANGELOG.md
の修正です。
不要なスペースを削除しています。
has_many :through
with unscope should affect to through scope
activerecord/lib/active_record/associations/association_scope.rb
、
activerecord/lib/active_record/reflection.rb
の修正です。
has_many :through
association + unscopeを使用した場合に、through scopeをunscope出来ないバグがあったのを修正しています。
RuntimeReflection
is not a subclass of PolymorphicReflection
activerecord/lib/active_record/reflection.rb
の修正です。
RuntimeReflection
の親クラスをPolymorphicReflection
からAbstractReflection
に変更しています。
PolymorphicReflection
はThroughReflection
で使う為のクラスで、RuntimeReflection
はAssociationScope
で使う為のクラスであり、そもそも目的が別のクラスなので親子関係になっているのはおかしい、という事で修正されたようです。
Don’t pass table
to last_chain_scope
and next_chain_scope
activerecord/lib/active_record/associations/association_scope.rb
、
activerecord/lib/active_record/reflection.rb
の修正です。
AssociationScope#last_chain_scope
、#next_chain_scope
メソッドの引数からtable
を削除しています。
table
はメソッドの引数であるreflection
の情報の一部であり、そちらから取得出来る為削除したとの事です。
.travis.yml
の修正です。
CIで使用するJRubyのバージョンを9.1.13.0に更新しています。