mirror of
https://gitee.com/mirrors/ohmyzsh.git
synced 2026-07-31 03:35:22 +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/