Add an option to start rails console in sandbox mode by default by shouichi · Pull Request #48984 · rails/rails

To avoid accidental writing to the production database, I always start rails console in sandbox mode. I only start rails console in non-sandbox mode when I'm sure I want to write to the product...