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:
parent
a63f7a1364
commit
70a86c6e0a
1 changed files with 0 additions and 1 deletions
|
@ -383,7 +383,6 @@ module ActiveRecord
|
||||||
scoped.all
|
scoped.all
|
||||||
end
|
end
|
||||||
|
|
||||||
records = options[:uniq] ? uniq(records) : records
|
|
||||||
records.each { |record| set_inverse_instance(record) }
|
records.each { |record| set_inverse_instance(record) }
|
||||||
records
|
records
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue