REFACTOR : Change dossier state 'Proposed' To 'Submitted'

This commit is contained in:
Xavier J 2015-11-02 11:23:55 +01:00
parent 0e8919a523
commit c0733849d5
19 changed files with 54 additions and 49 deletions

View file

@ -0,0 +1,5 @@
class ChangeStateProposedToSubmitted < ActiveRecord::Migration
def change
Dossier.where(state: 'proposed').update_all(state: 'submitted')
end
end