Fun With RoR Transactions

By Angsuman Chakraborty, Gaea News Network
Tuesday, March 7, 2006

RoR multi-table transaction appears to be a mess. You have to create transactions on each table. In essence it isn’t really multi-table transaction.

Also nested transactions do not work as expected. If the outer transaction fails then the data is in inconsistent state as the inner transaction has succeeded. Then you will have to manually reverse the effect of inner transaction(s) to bring the database back to a consistent state.

Source: RoR Wiki via LinuxIntegrators

Caution: Wiki is modifiable by anyone, so in effect the wiki information on which this article is based may be incorrect. The last changes were made anonymously.

YOUR VIEW POINT
NAME : (REQUIRED)
MAIL : (REQUIRED)
will not be displayed
WEBSITE : (OPTIONAL)
YOUR
COMMENT :