This project is archived and is in readonly mode.

#6769 new

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

  • af001

    af001 May 5th, 2011 @ 02:54 AM


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=""></a>

People watching this ticket