Changeset [3f56707017db970fe6b53a62f7f67722d333696d] by Thorsten Böttger

July 20th, 2015 @ 05:11 AM

default name for state machine with name is the state machine name (not :aasm_state)
https://github.com/aasm/aasm/commit/3f56707017db970fe6b53a62f7f6772...

Committed by Thorsten Böttger

  • M lib/aasm/base.rb
  • M spec/models/active_record/basic_active_record_two_state_machines_example.rb
  • M spec/models/active_record/gate.rb
  • M spec/models/active_record/no_direct_assignment.rb
  • M spec/models/active_record/no_scope.rb
  • M spec/models/active_record/thief.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.