mirror of
https://github.com/aasm/aasm
synced 2023-03-27 23:22:41 -04:00
Fix job.fire to job.aasm.fire in README
This commit is contained in:
parent
f9048b7496
commit
0c513e9642
1 changed files with 2 additions and 2 deletions
|
@ -691,8 +691,8 @@ job.run # not saved
|
|||
job.run! # saved
|
||||
|
||||
# or
|
||||
job.fire(:run) # not saved
|
||||
job.fire!(:run) # saved
|
||||
job.aasm.fire(:run) # not saved
|
||||
job.aasm.fire!(:run) # saved
|
||||
```
|
||||
|
||||
Saving includes running all validations on the `Job` class. If
|
||||
|
|
Loading…
Reference in a new issue