This project is archived and is in readonly mode.

Changeset [70b8ea4fa6f432919340345ae0d5af6aa8f87ec8] by Hongli Lai (Phusion)

September 23rd, 2008 @ 07:32 PM

Make AssociationCollection start transactions in the correct database.

AssociationCollection now starts transactions by calling AssociationCollection#transaction instead of @owner.transaction or @reflection.klass.transaction.

Signed-off-by: Michael Koziarski michael@koziarski.com

[#1081 state:committed] http://github.com/rails/rails/co...

Committed by Hongli Lai (Phusion)

  • M activerecord/lib/active_record/associations/association_collection.rb
  • M activerecord/lib/active_record/associations/has_many_through_association.rb
  • M activerecord/test/cases/associations/has_and_belongs_to_many_associations_test.rb
  • M activerecord/test/cases/associations/has_many_associations_test.rb
  • M activerecord/test/cases/associations/has_many_through_associations_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>