diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2016-03-04 09:21:33 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2016-03-04 09:21:33 -0800 |
commit | 999b70320b0511b5e2c8663e56a68778b1615796 (patch) | |
tree | 76688ac4ce2e07ca35484594eb6cb78a4763f357 | |
parent | 38fa9859fd0b042e341757f86e4514639988173e (diff) | |
download | rails-999b70320b0511b5e2c8663e56a68778b1615796.tar.gz rails-999b70320b0511b5e2c8663e56a68778b1615796.tar.bz2 rails-999b70320b0511b5e2c8663e56a68778b1615796.zip |
remove useless ivar
-rw-r--r-- | activerecord/lib/active_record/reflection.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/reflection.rb b/activerecord/lib/active_record/reflection.rb index 43f573f193..0eff30f1db 100644 --- a/activerecord/lib/active_record/reflection.rb +++ b/activerecord/lib/active_record/reflection.rb @@ -765,7 +765,6 @@ module ActiveRecord # This is for clearing cache on the reflection. Useful for tests that need to compare # SQL queries on associations. def clear_association_scope_cache # :nodoc: - @chain = nil delegate_reflection.clear_association_scope_cache source_reflection.clear_association_scope_cache through_reflection.clear_association_scope_cache |