require Rails.root.join("lib", "tasks", "task_helper") namespace :'2017_12_20_delete_old_administration' do task set: :environment do Administration.all.each do |a| rake_puts "Deleting #{a.email}" a.destroy end end end