This project is archived and is in readonly mode.
Autosave associations don't create nested models without validation
Reported by Marko Anastasov | February 19th, 2009 @ 10:44 AM
Saving a model which accepts_nested_attributes_for :another, after applying some attributes and without validation, fails. The nested model should be created. I'm attaching a test case.
Comments and changes to this ticket
-
Eloy Duran February 19th, 2009 @ 10:51 AM
Thanks Marko, I'll integrate this test case with a refactoring I'm working on. http://github.com/alloy/rails/tr...
-
Michael Koziarski February 22nd, 2009 @ 02:23 AM
- Milestone cleared.
-
Eloy Duran February 22nd, 2009 @ 06:04 PM
@Marko: Please test if the patch attached to #1930 fixes your issue.
-
Eloy Duran February 26th, 2009 @ 12:47 PM
- Assigned user changed from Eloy Duran to Michael Koziarski
This one is fixed if #1930 gets applied.
-
DHH February 27th, 2009 @ 12:52 PM
- State changed from new to resolved
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>
People watching this ticket
Attachments
Referenced by
- 1930 autosave should validate associations even if master is invalid @Pete & Gaspard: could you please test again, as a fix fo...