1
0
Fork 0
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:
Anil Kumar Maurya 2017-04-13 15:19:45 +05:30 committed by GitHub
parent b680aaeb53
commit ffc2bf7725

View file

@ -901,6 +901,9 @@ class Job < ActiveRecord::Base
...
end
aasm :another_state_machine, column: 'second_state' do
...
end
end
```