Last Updated: February 25, 2016
·
841
· rshetty

Rake Task to Drop All Databases in Rails App

desc "drop test databases via db:drop --> parallel:drop[num_cpus]"
task :drop, :count do |t,args|
run_in_parallel('rake db:drop', args)
end