Disable dangerous rake tasks in production
Here’s a nifty rake task to disable dangerous rake tasks in production, like rake db:schema:load
. Developed after we killed our production database by mistake :-)
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!
Here’s a nifty rake task to disable dangerous rake tasks in production, like rake db:schema:load
. Developed after we killed our production database by mistake :-)
Post a comment