This project is archived and is in readonly mode.
Behavior of child_ids= setter in has_many :through :uniq associations
-
Frederick Cheung
Well I don't thing rails is doing this on purpose - it's basically doing
foos << Foo.find(ids)and find uniques the ids (ie it's not the association code that does this the uniquing just a (perhaps unintended) consequence of using find in this way.
-
Rohit Arondekar
- State changed from new to stale
- Importance changed from to
Marking ticket as stale. If this is still an issue please leave a comment with suggested changes, creating a patch with tests, rebasing an existing patch or just confirming the issue on a latest release or master/branches.