1
0
Fork 0
mirror of https://github.com/aasm/aasm synced 2023-03-27 23:22:41 -04:00

Fix enum syntax

This commit is contained in:
niku 2014-07-08 19:46:42 +09:00
parent e7f21ffdfc
commit 7a954477dd

View file

@ -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
}