Created
July 11, 2011 00:03
-
-
Save noahhendrix/1075110 to your computer and use it in GitHub Desktop.
My favorite custom Rake task for all new Rails projects
This file contains hidden or 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
#lib/tasks/db.rake | |
namespace :db do | |
desc 'Drops the DB, migrates it, and finally seeds it' | |
task :reload => [:drop, :migrate, :seed] | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment