Changeset [09e5ae5937bbe8bb82e1f85e8551034848988d77] by Thorsten Böttger

December 16th, 2013 @ 05:42 PM

initialize the state even if validation is skipped (for Mongoid)
https://github.com/aasm/aasm/commit/09e5ae5937bbe8bb82e1f85e8551034...

Committed by Thorsten Böttger

  • M lib/aasm/persistence/mongoid_persistence.rb
  • M spec/unit/persistence/mongoid_persistance_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.