REFACTOR: Change dossier state 'Processed' To 'Closed'

This commit is contained in:
Xavier J 2015-11-02 15:00:28 +01:00
parent 76d87c7f79
commit c09fe8e7f6
13 changed files with 37 additions and 32 deletions

View file

@ -0,0 +1,5 @@
class ChangeStateProcessedToClosed < ActiveRecord::Migration
def change
Dossier.where(state: 'processed').update_all(state: 'closed')
end
end