diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-10-23 20:19:13 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-10-23 20:29:46 -0700 |
commit | 6c998a79c8d9f4458d8a8b940a6478d6b55959a0 (patch) | |
tree | 6c513e77237ac2ede42ccb54750da26a10c6fe17 /activerecord | |
parent | 3e4ede81d6b1ff3ea89eca33715a5a0d2f524dcf (diff) | |
download | rails-6c998a79c8d9f4458d8a8b940a6478d6b55959a0.tar.gz rails-6c998a79c8d9f4458d8a8b940a6478d6b55959a0.tar.bz2 rails-6c998a79c8d9f4458d8a8b940a6478d6b55959a0.zip |
removing dead code
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/association_preload.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/association_preload.rb b/activerecord/lib/active_record/association_preload.rb index e6b367790b..4f0684d753 100644 --- a/activerecord/lib/active_record/association_preload.rb +++ b/activerecord/lib/active_record/association_preload.rb @@ -256,8 +256,6 @@ module ActiveRecord end def preload_through_records(records, reflection, through_association) - through_reflection = reflections[through_association] - through_records = [] if reflection.options[:source_type] interface = reflection.source_reflection.options[:foreign_type] |