demarches-normaliennes/lib/tasks/2017_12_20_delete_old_administration.rake
2017-12-22 11:10:25 +01:00

8 lines
183 B
Ruby

namespace :'2017_12_20_delete_old_administration' do
task set: :environment do
Administration.all.each do |a|
puts "Deleting #{a.email}"
a.destroy
end
end
end