-
alpaca-tc authored
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.
alpaca-tc authoredWith 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.
Loading