Skip to content
Browse files

Remove obsolete line.

This code is broken (it should say association_scope.uniq_value rather
than options[:uniq]) but the tests still pass.

I think it is designed to uniq-ify associations using finder_sql.
However, I am about to remove that anyway.
  • Loading branch information...
1 parent a63f7a1 commit 70a86c6e0af44421efd1f1adac963be5291f2341 @jonleighton jonleighton committed
Showing with 0 additions and 1 deletion.
  1. +0 −1 activerecord/lib/active_record/associations/collection_association.rb
View
1 activerecord/lib/active_record/associations/collection_association.rb
@@ -383,7 +383,6 @@ def find_target
scoped.all
end
- records = options[:uniq] ? uniq(records) : records
records.each { |record| set_inverse_instance(record) }
records
end

0 comments on commit 70a86c6

Please sign in to comment.
Something went wrong with that request. Please try again.