This project is archived and is in readonly mode.

Changeset [9c771a9608f54ebdfcb6fca819c83038489ce50d] by Eloy Duran

December 28th, 2009 @ 03:56 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/9c771a9608f54ebdfcb6fca819c830...

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>