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
Written by Rajeev N Bharshetty
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Rails
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#