aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2013-09-24 11:39:16 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2013-09-24 11:39:16 -0700
commite9d2ff6959f1e3fcd4fed1d18d8de575aa8d36e8 (patch)
treefcc1b030bd07e7f93d708ed27761ede43b247cb3 /activerecord
parent4a785415559cdb8aae00d636bd364994fec36311 (diff)
downloadrails-e9d2ff6959f1e3fcd4fed1d18d8de575aa8d36e8.tar.gz
rails-e9d2ff6959f1e3fcd4fed1d18d8de575aa8d36e8.tar.bz2
rails-e9d2ff6959f1e3fcd4fed1d18d8de575aa8d36e8.zip
eliminate unused ivar
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/associations/preloader/has_and_belongs_to_many.rb1
1 files changed, 0 insertions, 1 deletions
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