diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2013-10-07 15:03:08 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2013-10-07 15:03:08 -0700 |
commit | 77e5c1262c7ef987cc0cdf3d246448dabc0b6e80 (patch) | |
tree | 584a6a905c0e358b54eea267a00b0a35a0db8e20 /activerecord | |
parent | 3270bea4f368c67cecad40be9fa5fa740b8def4f (diff) | |
download | rails-77e5c1262c7ef987cc0cdf3d246448dabc0b6e80.tar.gz rails-77e5c1262c7ef987cc0cdf3d246448dabc0b6e80.tar.bz2 rails-77e5c1262c7ef987cc0cdf3d246448dabc0b6e80.zip |
remove more dead code
We control the inputs to `construct`, so the wrong type shouldn't be
passed in ever.
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/associations/join_dependency.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/associations/join_dependency.rb b/activerecord/lib/active_record/associations/join_dependency.rb index a91a928a01..8b0e469a98 100644 --- a/activerecord/lib/active_record/associations/join_dependency.rb +++ b/activerecord/lib/active_record/associations/join_dependency.rb @@ -199,8 +199,6 @@ module ActiveRecord association = construct(parent, association_name, join_parts, row) construct(association, assoc, join_parts, row) if association end - else - raise ConfigurationError, associations.inspect end end |