Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Add config.disable_sandbox option to Rails console #35723
Given that it's common for Ruby on Rails application with huge traffic to have separate write database and read database, we should allow the developers to disable this sandbox option to prevent someone
This situation is actually happened to us
I felt like this is not a situation that only us would run into, as it could bite someone one day and took down their system, so I think having a sandbox mode as a configurable option is a good idea especially in a Rails application that already have a separate read and write database cluster.