diff --git a/README_FROM_VERSION_3_TO_4.md b/README_FROM_VERSION_3_TO_4.md index 726eda9..4213dc1 100644 --- a/README_FROM_VERSION_3_TO_4.md +++ b/README_FROM_VERSION_3_TO_4.md @@ -139,7 +139,7 @@ to ```ruby job = Job.new -job.aasm.events(:permitted => true) +job.aasm.events(:permitted => true).map(&:name) # => [:run] ```