Changeset [81c4dea66f8215b0426ff28743ea1c7e5a6ef699] by Naveed Kakal
August 24th, 2015 @ 08:06 PM
Updates 'Callbacks' section example to be correct
The current example is trying to define a before block inside of
a
transition block, which is not a supported callback. Moving the
before
block in to the event block for an example that is supported.
https://github.com/aasm/aasm/commit/81c4dea66f8215b0426ff28743ea1c7...
Committed by Naveed Kakal
- M README.md
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Library for adding state machines to Ruby classes. Includes persistence layers for things like ActiveRecord. Formerly known as acts_as_state_machine.