Changeset [d8b2c45058e93107b59b94316b19c0d632b6d1da] by Ivan Tse

November 11th, 2013 @ 05:19 PM

Add a validate method for ActiveRecord to prevent persisting invalid states.
https://github.com/aasm/aasm/commit/d8b2c45058e93107b59b94316b19c0d...

Committed by Ivan Tse

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