Skip to content

Instantly share code, notes, and snippets.

@brandon-beacher
Created January 30, 2013 19:06
Show Gist options
  • Save brandon-beacher/4675804 to your computer and use it in GitHub Desktop.
Save brandon-beacher/4675804 to your computer and use it in GitHub Desktop.
if Rails.env.development?
Rake::Task["test"].enhance do
Rake::Task["db:migrate"].invoke
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment