Rails Jailed Console
This post walks through monkey-patching the Rails console to default it into sandbox mode in production. It also adds some additional safeguards, like disabling web requests and the Sidekiq interface.
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
This post walks through monkey-patching the Rails console to default it into sandbox mode in production. It also adds some additional safeguards, like disabling web requests and the Sidekiq interface.
Post a comment