mssd_q
Last Updated: February 25, 2016
·
649
· paulelliott
98292675163b09c369e097cbeef92a10

Automatically db:test:prepare

lib/tasks/db.rake

namespace :db do
  task :migrate => :environment do
    if Rails.env.development?
      Rake::Task['db:test:prepare'].invoke
    end
  end
end
Say Thanks
Respond