Skip to content

Instantly share code, notes, and snippets.

@natekandler
Created May 15, 2014 19:28
Show Gist options
  • Save natekandler/6c9fd0f9892bf393671e to your computer and use it in GitHub Desktop.
Save natekandler/6c9fd0f9892bf393671e to your computer and use it in GitHub Desktop.
rake db:YOLO!
# put in rakefile under - namespace :db
# also in namespace :db, make sure create and drop end with system rather than exec
desc "Drop Create and Migrate yo DB"
task :yolo => ["db:drop", "db:create", "db:migrate"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment