1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/lib/active_record/railties
alpaca-tc 67517fde49 Open transaction for multi-db apps
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.
2020-12-09 17:12:32 +09:00
..
console_sandbox.rb Open transaction for multi-db apps 2020-12-09 17:12:32 +09:00
controller_runtime.rb
databases.rake Add db:structure:load_if_sql and db:schema:load_if_ruby back 2020-11-24 22:09:48 +00:00