Changeset [abe1bf0e13718deae2dd406bcf982677fe608266] by Anil Kumar Maurya

October 6th, 2016 @ 05:21 AM

Merge pull request #406 from yogeshjain999/fix_for_nil_arg

Ensure nil arg is forwarded to callbacks
https://github.com/aasm/aasm/commit/abe1bf0e13718deae2dd406bcf98267...

Committed by Anil Kumar Maurya

  • M lib/aasm/core/event.rb
  • M spec/models/guard_with_params.rb
  • M spec/models/parametrised_event.rb
  • M spec/unit/event_spec.rb
  • M spec/unit/guard_with_params_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.