mirror of
https://github.com/aasm/aasm
synced 2023-03-27 23:22:41 -04:00
Updated readme for Mongoid
This commit is contained in:
parent
08d0511c90
commit
0e07cdf6c1
1 changed files with 1 additions and 0 deletions
|
@ -257,6 +257,7 @@ to include Mongoid::Document before you include AASM.
|
|||
class Job
|
||||
include Mongoid::Document
|
||||
include AASM
|
||||
field :aasm_state
|
||||
aasm do
|
||||
...
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue