[fix #504] Dossier: received -> en_instruction

This commit is contained in:
LeSim 2017-12-14 15:53:02 +01:00
parent 72bae2c374
commit 3dda27b281
40 changed files with 143 additions and 108 deletions

View file

@ -6,4 +6,8 @@ namespace :'2017_12_04_translate_dossier_state_to_french' do
task en_construction: :environment do
Dossier.unscoped.where(state: 'initiated').update_all(state: 'en_construction')
end
task en_instruction: :environment do
Dossier.unscoped.where(state: 'received').update_all(state: 'en_instruction')
end
end