This project is archived and is in readonly mode.
![fuse fuse](https://entp-lh-avatar-production.s3.amazonaws.com/avatars/35906/large.png?AWSAccessKeyId=AKIAJ4QBZRZBVMOUBNZA&Expires=2024959477&Signature=Pw3OJv93bWHJBhz0e51L2%2BfgQfs%3D)
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>