From 3270bea4f368c67cecad40be9fa5fa740b8def4f Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Mon, 7 Oct 2013 14:40:22 -0700 Subject: this code is never used, remove it --- activerecord/lib/active_record/associations/join_dependency.rb | 4 ---- 1 file changed, 4 deletions(-) (limited to 'activerecord/lib/active_record/associations') 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) -- cgit v1.2.3