From 6546cf2632ebe181bd302b5b98755094d93c2ae9 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Mon, 21 Oct 2013 14:58:53 -0700 Subject: @base_klass is not used --- activerecord/lib/active_record/associations/join_dependency.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'activerecord/lib/active_record/associations') diff --git a/activerecord/lib/active_record/associations/join_dependency.rb b/activerecord/lib/active_record/associations/join_dependency.rb index 2bcea3b00a..20457e9e57 100644 --- a/activerecord/lib/active_record/associations/join_dependency.rb +++ b/activerecord/lib/active_record/associations/join_dependency.rb @@ -52,7 +52,6 @@ module ActiveRecord # joins #=> [] # def initialize(base, associations, joins) - @base_klass = base @join_root = JoinBase.new(base) @alias_tracker = AliasTracker.new(base.connection, joins) @alias_tracker.aliased_name_for(base.table_name) # Updates the count for base.table_name to 1 -- cgit v1.2.3