This project is archived and is in readonly mode.
Error doesn't appear in the parent with accepts_nested_attributes on a before_destroy
Reported by fuse | May 4th, 2011 @ 12:05 PM
When a child is marked for destruction, callbacks (like before_destroy) are called but child error is not set in the parent like it is for classic validations.
It appears in rails 2.3.11, I add a failing test case below for nested_attributes_test.rb.
Comments and changes to this ticket
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>