RailsConsoleShield

Make your production rails console more secure!

Installation

Add this line to your application's Gemfile:

gem 'rails_console_shield'

And then execute:

$ bundle

Or install it yourself as:

$ gem install rails_console_shield

Usage

Set the production console to sandbox mode by default.\ To disable it, run it with the --no-sandbox option.

bin/rails console --no-sandbox

Demo

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the RailsConsoleShield project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

Acknowledgements

This is a lite and refactored version of safer_rails_console