Changeset [e58af8e396b8e66d15801e8c66196071c430f312] by Bill Horsman

June 12th, 2013 @ 04:26 AM

Ensure that may_whatever? always returns either true or false

Instead of nil if there are no possible transitions and false if one
exists but it is not allowed.
https://github.com/aasm/aasm/commit/e58af8e396b8e66d15801e8c6619607...

Committed by Bill Horsman

  • M lib/aasm/event.rb
New-ticket Create new ticket

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.