Last active
August 4, 2016 19:44
-
-
Save jeffreywalter/acdc115d1f20645fe66c7daa7b21aa91 to your computer and use it in GitHub Desktop.
Remove all the db tasks from a rails app
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace :db do |namespace| | |
namespace.tasks.each {|task| task.clear} | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment