ArgumentError: wrong number of arguments (given 2, expected 1)
This commit is contained in:
parent
765bd6ec10
commit
3f05ebc5b5
@ -24,7 +24,7 @@ class ApprovalWorkflowStatus < ActiveRecord::Migration[4.2]
|
|||||||
add_column :dmsf_workflows, :status, :integer,
|
add_column :dmsf_workflows, :status, :integer,
|
||||||
null: false, default: DmsfWorkflow::STATUS_ACTIVE
|
null: false, default: DmsfWorkflow::STATUS_ACTIVE
|
||||||
DmsfWorkflow.reset_column_information
|
DmsfWorkflow.reset_column_information
|
||||||
DmsfWorkflow.update_all :status, DmsfWorkflow::STATUS_ACTIVE
|
DmsfWorkflow.all.each { |wf| wf.update_attribute(:status, DmsfWorkflow::STATUS_ACTIVE) }
|
||||||
end
|
end
|
||||||
|
|
||||||
def down
|
def down
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user