Skip to content

Commit

Permalink
Update guard_parameter variable as a symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
fercreek committed Aug 3, 2022
1 parent bf7ff4c commit 276320c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -1259,7 +1259,7 @@ Job.aasm.states_for_select
#=> [["Sleeping", "sleeping"], ["Running", "running"], ["Cleaning", "cleaning"]]

# show permitted states with guard parameter
job.aasm.states({permitted: true}, guard_parameter).map(&:name)
job.aasm.states({permitted: true}, :guard_parameter).map(&:name)
```


Expand Down

0 comments on commit 276320c

Please sign in to comment.