Sha256: a35faff929082dca74ec93ac3744ee703e601d6595fce9ff2a8cc4860892fb1d
Contents?: true
Size: 245 Bytes
Versions: 52
Compression:
Stored size: 245 Bytes
Contents
class FixExpenseState < ActiveRecord::Migration[5.0] def change Dorsale::ExpenseGun::Expense.where(state: "submited").update_all(state: "submitted") Dorsale::ExpenseGun::Expense.where(state: "new").update_all(state: "draft") end end
Version data entries
52 entries across 52 versions & 1 rubygems