aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/railties/console_sandbox.rb
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Merge pull request #12085 from valk/master"Santiago Pastorino2013-09-031-3/+1
| | | | | This reverts commit 15455d76c8d33b3767a61e0cdd2de0ff592098ef, reversing changes made to ffa56f73d5ae98fe0b8b6dd2ca6f0dffac9d9217.
* FIX reload! within rails console --sandbox causes undefined method rollback ↵Val Kotlarov Hoffman2013-08-301-1/+3
| | | | upon exiting [https://github.com/rails/rails/issues/11834]
* The console --sandbox transaction should not be joinableJon Leighton2013-03-081-1/+2
| | | | Thanks @neerajdotname for noticing this bug.
* Fix rails console --sandboxJon Leighton2013-03-081-2/+2
| | | | | | I've also added a proper acceptance test which reproduced the issue. Closes #9513, #9515.
* Store the transaction number in the transaction objectJon Leighton2012-09-151-2/+0
| | | | This avoids us having to manually increment and decrement it.
* Move sandbox to AR and pass the sandbox as a value. This way, other ORMs ↵José Valim2011-05-041-0/+6
like Datamapper can also have their own sandboxing in rails console.