diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2013-09-24 11:39:16 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2013-09-24 11:39:16 -0700 |
commit | e9d2ff6959f1e3fcd4fed1d18d8de575aa8d36e8 (patch) | |
tree | fcc1b030bd07e7f93d708ed27761ede43b247cb3 /activerecord/lib | |
parent | 4a785415559cdb8aae00d636bd364994fec36311 (diff) | |
download | rails-e9d2ff6959f1e3fcd4fed1d18d8de575aa8d36e8.tar.gz rails-e9d2ff6959f1e3fcd4fed1d18d8de575aa8d36e8.tar.bz2 rails-e9d2ff6959f1e3fcd4fed1d18d8de575aa8d36e8.zip |
eliminate unused ivar
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/associations/preloader/has_and_belongs_to_many.rb | 1 |
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 |