diff options
author | Arthur Neves <arthurnn@gmail.com> | 2014-08-08 15:37:38 -0400 |
---|---|---|
committer | Arthur Neves <arthurnn@gmail.com> | 2014-08-15 16:04:02 -0400 |
commit | 0002954512364f2f69d28798f7a79aa8e27d7b6b (patch) | |
tree | 1d50aa0c2a23d3964ae2ee29d03939c855614955 /activerecord/test/cases/finder_respond_to_test.rb | |
parent | a59b9e2284353dcf8cf6d77b97aaa4255563c807 (diff) | |
download | rails-0002954512364f2f69d28798f7a79aa8e27d7b6b.tar.gz rails-0002954512364f2f69d28798f7a79aa8e27d7b6b.tar.bz2 rails-0002954512364f2f69d28798f7a79aa8e27d7b6b.zip |
Use *_transaction methods in TransactionManager
Use `commit_transaction`/`rollback_transaction` on
`within_new_transaction` method, so they make sure they `pop` the
transaction from the stack before calling the methods `commit`/`rollback`.
Diffstat (limited to 'activerecord/test/cases/finder_respond_to_test.rb')
0 files changed, 0 insertions, 0 deletions