REFACTOR: Change dossier state 'Confirmed' To 'Validated'

This commit is contained in:
Xavier J 2015-11-02 11:45:52 +01:00
parent 4a05af89fc
commit da8c166331
14 changed files with 50 additions and 44 deletions

View file

@ -0,0 +1,6 @@
class ChangeStateConfirmedToValidated < ActiveRecord::Migration
def change
Dossier.where(state: 'confirmed').update_all(state: 'validated')
end
end