This project is archived and is in readonly mode.

Changeset [6b2291f33063b6742cba84f5f64e03de9907c1f8] by Eloy Duran

November 6th, 2009 @ 10:53 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] http://github.com/rails/rails/commit/6b2291f33063b6742cba84f5f64e03...

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