mirror of
https://github.com/aasm/aasm
synced 2023-03-27 23:22:41 -04:00
Fix enum syntax
This commit is contained in:
parent
e7f21ffdfc
commit
7a954477dd
1 changed files with 1 additions and 1 deletions
|
@ -288,7 +288,7 @@ in Rails 4.1+ for your state column:
|
|||
class Job < ActiveRecord::Base
|
||||
include AASM
|
||||
|
||||
enum state {
|
||||
enum state: {
|
||||
sleeping: 5,
|
||||
running: 99
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue