namespace :data do desc "Reset the application data" task :reset => :environment do Rake::Task["db:migrate:reset"].invoke Rake::Task["db:fixtures:load"].invoke end end