mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-04-21 22:52:36 +00:00

The command ‘rails console —sandbox’ loads our Rails application, connects to the database and automatically starts a database transaction. All database operations performed within this console session are rolled back upon leaving the console. Reference - https://www.codeschool.com/blog/2014/06/17/rails-console-sandbox/