This project is archived and is in readonly mode.

#6769 new
fuse

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="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Attachments

Pages