[Fix #1096] task to delete old accounts

This commit is contained in:
Mathieu Magnin 2017-12-20 16:59:48 +01:00
parent 4990595430
commit 5c9d82d46f

View file

@ -0,0 +1,8 @@
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