Permalink
Browse files

remove more dead code

We control the inputs to `construct`, so the wrong type shouldn't be
passed in ever.
  • Loading branch information...
tenderlove committed Oct 7, 2013
1 parent 3270bea commit 77e5c1262c7ef987cc0cdf3d246448dabc0b6e80
Showing with 0 additions and 2 deletions.
  1. +0 −2 activerecord/lib/active_record/associations/join_dependency.rb
@@ -199,8 +199,6 @@ def construct(parent, associations, join_parts, row)
association = construct(parent, association_name, join_parts, row)
construct(association, assoc, join_parts, row) if association
end
- else
- raise ConfigurationError, associations.inspect
end
end

0 comments on commit 77e5c12

Please sign in to comment.