Skip to content

Instantly share code, notes, and snippets.

@noahhendrix
Created July 11, 2011 00:03
Show Gist options
  • Save noahhendrix/1075110 to your computer and use it in GitHub Desktop.
Save noahhendrix/1075110 to your computer and use it in GitHub Desktop.
My favorite custom Rake task for all new Rails projects
#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