diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2004-12-22 00:48:24 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2004-12-22 00:48:24 +0000 |
commit | 44819b47179936492c093811ed0f625ce6e029a3 (patch) | |
tree | f6653b9e9a9c8fd41dab1cc40f78e4e4d565b65c /activerecord/test/lifecycle_test.rb | |
parent | 58f2bd0cfc1713ee3ed519d6b75bbfa386c131c3 (diff) | |
download | rails-44819b47179936492c093811ed0f625ce6e029a3.tar.gz rails-44819b47179936492c093811ed0f625ce6e029a3.tar.bz2 rails-44819b47179936492c093811ed0f625ce6e029a3.zip |
Fixed that nested transactions now work by letting the outer most transaction have the responsibilty of starting and rolling back the transaction. If any of the inner transactions swallow the exception raised, though, the transaction will not be rolled back. So always let the transaction bubble up even when you've dealt with local issues. Closes #231 and #340.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@242 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test/lifecycle_test.rb')
0 files changed, 0 insertions, 0 deletions