Permalink
Browse files

this code is never used, remove it

  • Loading branch information...
1 parent 21a71cd commit 3270bea4f368c67cecad40be9fa5fa740b8def4f @tenderlove tenderlove committed Oct 7, 2013
Showing with 0 additions and 4 deletions.
  1. +0 −4 activerecord/lib/active_record/associations/join_dependency.rb
@@ -194,10 +194,6 @@ def construct(parent, associations, join_parts, row)
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)

0 comments on commit 3270bea

Please sign in to comment.