Changeset [a9eefa97dc0f153a28576589e4ffc5b4ec8cd98d] by Vladimir Meremyanin

February 21st, 2013 @ 03:01 AM

Breaking changes: success/error callbacks called in context of record, not with record as argument.
Refactored callbacks in event.rb, added support for inline definition of success/error callbacks.
https://github.com/aasm/aasm/commit/a9eefa97dc0f153a28576589e4ffc5b...

Committed by Vladimir Meremyanin

  • M lib/aasm/aasm.rb
  • M lib/aasm/supporting_classes/event.rb
  • M spec/unit/supporting_classes/event_spec.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.