This project is archived and is in readonly mode.
uniq bug on array of ActiveRecord Objects
-
Michael Koziarski
- Tag changed from active_record, array to active_record, array, bugmash
-
Cristi Balan
-1
Since composite keys are not part of AR core, but added through plugins, I think the equality of records should be handled in the same plugin as well by overriding ==.
-
John Pignata
-1
Where composite keys or Rails-known primary keys aren't used, == should be overriden.
-
Kieran P
-1 In agreement with Cristi and Johns comments. If you're needing this, overwrite the functionality in your own code since its a limited case.
-
Rizwan Reza
not reproducible
-1 Agreed with Cristi... it's a job of a plugin.
-
Jeremy Kemper
- State changed from new to wontfix
- Tag changed from active_record, array, bugmash to active_record, array
- Milestone cleared.
