This project is archived and is in readonly mode.

Changeset [146a7505680cbb646c0b9d55dca7cc8494b36e47] by Eloy Duran

December 28th, 2009 @ 03:46 PM

Make sure to not add autosave callbacks multiple times. [#3575 state:resolved]

This makes sure that, in a HABTM association, only one join record is craeted.
http://github.com/rails/rails/commit/146a7505680cbb646c0b9d55dca7cc...

Committed by Eloy Duran

  • M activerecord/lib/active_record/autosave_association.rb
  • M activerecord/lib/active_record/nested_attributes.rb
  • M activerecord/test/cases/autosave_association_test.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="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>