mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-02-24 21:34:28 +08: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/