From e9d2ff6959f1e3fcd4fed1d18d8de575aa8d36e8 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Tue, 24 Sep 2013 11:39:16 -0700 Subject: eliminate unused ivar --- .../lib/active_record/associations/preloader/has_and_belongs_to_many.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'activerecord/lib') diff --git a/activerecord/lib/active_record/associations/preloader/has_and_belongs_to_many.rb b/activerecord/lib/active_record/associations/preloader/has_and_belongs_to_many.rb index bd72bbc56f..1c119d739f 100644 --- a/activerecord/lib/active_record/associations/preloader/has_and_belongs_to_many.rb +++ b/activerecord/lib/active_record/associations/preloader/has_and_belongs_to_many.rb @@ -7,7 +7,6 @@ module ActiveRecord def initialize(klass, records, reflection, preload_options) super @join_table = Arel::Table.new(reflection.join_table).alias('t0') - @records_by_owner = nil end # Unlike the other associations, we want to get a raw array of rows so that we can -- cgit v1.2.3