This project is archived and is in readonly mode.
ActiveRecord: nested_attributes and associations bug
Reported by --- | April 19th, 2011 @ 02:49 PM
There is a bug in AR when trying to associate and update a
record with another one
through nested_attributes and has_many/belongs_to depending on how
the params are sorted.
I suspect the same behaviour probably is happening with
has_one/belongs_to.
Bug reproductible with rails 3.0.7, demo app illustrating it:
https://github.com/jeremyvdw/Piracy (check the README file for details)
Comments and changes to this ticket
-
germaninthetown May 2nd, 2011 @ 12:19 PM
just checked it with edge (3.1.0.beta) and the spec didn't failed
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>