This project is archived and is in readonly mode.
AssociationCollection starts transactions in the incorrect database
-
Hongli Lai
- Title changed from AssociationProxy starts transactions in the incorrect database to AssociationCollection starts transactions in the incorrect database
Here's an updated patch. AssociationProxy#transaction has been moved to AssociationCollection because it makes no sense for non-collection associations. More tests have been added.
The following patch is for edge.
-
Hongli Lai
And this patch is for 2-1-stable.
-
Repository
- State changed from new to committed
(from [70b8ea4fa6f432919340345ae0d5af6aa8f87ec8]) 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 AssociationCollection starts transactions in the incorrect database state:committed] http://github.com/rails/rails/co...
