This project is archived and is in readonly mode.

Changeset [f125a34501e21b1e0da2b80d149df7a739482804] by Eloy Duran

November 6th, 2009 @ 11:42 PM

Define autosave association callbacks when using accepts_nested_attributes_for.

This way we don't define all the validation methods for all associations by
default, but only when needed.

[#3355 state:resolved]

Committed by Eloy Duran

  • M activerecord/lib/active_record/nested_attributes.rb
  • M activerecord/test/models/pirate.rb
  • M activerecord/test/models/ship.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>