1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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.
This commit is contained in:
Jon Leighton 2012-07-20 18:36:47 +01:00
parent a63f7a1364
commit 70a86c6e0a

View file

@ -383,7 +383,6 @@ module ActiveRecord
scoped.all
end
records = options[:uniq] ? uniq(records) : records
records.each { |record| set_inverse_instance(record) }
records
end