diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2013-10-07 14:40:22 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2013-10-07 14:40:22 -0700 |
commit | 3270bea4f368c67cecad40be9fa5fa740b8def4f (patch) | |
tree | 789daf503497c1463fb81991334d170b7453e716 /activerecord/lib | |
parent | 21a71cd5d8f266252278a63316a99cc403a32cad (diff) | |
download | rails-3270bea4f368c67cecad40be9fa5fa740b8def4f.tar.gz rails-3270bea4f368c67cecad40be9fa5fa740b8def4f.tar.bz2 rails-3270bea4f368c67cecad40be9fa5fa740b8def4f.zip |
this code is never used, remove it
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/associations/join_dependency.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/activerecord/lib/active_record/associations/join_dependency.rb b/activerecord/lib/active_record/associations/join_dependency.rb index 3acb50d73f..a91a928a01 100644 --- a/activerecord/lib/active_record/associations/join_dependency.rb +++ b/activerecord/lib/active_record/associations/join_dependency.rb @@ -194,10 +194,6 @@ module ActiveRecord join_parts.delete(join_part) construct_association(parent, join_part, row) - when Array - associations.each do |association| - construct(parent, association, join_parts, row) - end when Hash associations.sort_by { |k,_| k.to_s }.each do |association_name, assoc| association = construct(parent, association_name, join_parts, row) |