on / rails / rubyAutomaticamente db: test: preparelib / tasks / db.rakenamespace :db do task :migrate => :environment do if Rails.env.development? Rake::Task['db:test:prepare'].invoke end endend