From 999b70320b0511b5e2c8663e56a68778b1615796 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Fri, 4 Mar 2016 09:21:33 -0800 Subject: remove useless ivar --- activerecord/lib/active_record/reflection.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'activerecord/lib') 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 -- cgit v1.2.3