6 lines
150 B
Ruby
6 lines
150 B
Ruby
|
class ChangeStateProcessedToClosed < ActiveRecord::Migration
|
||
|
def change
|
||
|
Dossier.where(state: 'processed').update_all(state: 'closed')
|
||
|
end
|
||
|
end
|