demarches-normaliennes/lib/tasks/2018_06_04_scan_pjs.rake
2018-06-12 15:12:40 +02:00

7 lines
179 B
Ruby

namespace :'2018_06_04_scan_pjs' do
task scan_all: :environment do
Champs::PieceJustificativeChamp.all.each do |pj_champ|
pj_champ.create_virus_scan
end
end
end