Confirmation for destructive Rails task.
MIT License
confirmation for destructive Rails task. example for db:drop.
Add this line to your application's Gemfile:
group :production do
gem 'rake-confirm'
end
And then execute:
$ bundle
Or install it yourself as:
$ gem install rake-confirm
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)