This project is archived and is in readonly mode.

Changeset [a9b4b5da7c216e4464eeb9dbd0a39ea258d64325] by Durran Jordan

April 5th, 2011 @ 02:38 PM

Destroying records via nested attributes works independent of reject_if:

  • When a :_destroy truthiness is provided in the attributes hash, the record should get destroyed regardless of the result of the proc or method supplied to :reject_if. (If :allow_destroy is true)

[#6006 state:committed]

Signed-off-by: Santiago Pastorino

Committed by Durran Jordan

  • M activerecord/lib/active_record/nested_attributes.rb
  • M activerecord/test/cases/nested_attributes_test.rb

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>