mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
67517fde49
With a multiple database application `rails console --sandbox` becomes problematic. We can't rollback any modifications for every database because we can't open transaction for the connections that haven't not yet been loaded. To solve this I handled that if the database is connected then it will open transaction. |
||
---|---|---|
.. | ||
console_sandbox.rb | ||
controller_runtime.rb | ||
databases.rake |