mirror of
https://github.com/aasm/aasm
synced 2023-03-27 23:22:41 -04:00
Update Readme, add example to add options
when using multiple state machines per class [ci skip]
This commit is contained in:
parent
b680aaeb53
commit
ffc2bf7725
1 changed files with 3 additions and 0 deletions
|
@ -901,6 +901,9 @@ class Job < ActiveRecord::Base
|
|||
...
|
||||
end
|
||||
|
||||
aasm :another_state_machine, column: 'second_state' do
|
||||
...
|
||||
end
|
||||
end
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue