Changeset [c499a6e149f5d343fa4ba8424e6f9c32541030ea] by Konstantin Burnaev

May 15th, 2014 @ 04:04 AM

:enum configuration now can be omitted if AASM column points to an integer column. :enum can be set to true; in this case AASM would infer
enum method name from AASM column name.
https://github.com/aasm/aasm/commit/c499a6e149f5d343fa4ba8424e6f9c3...

Committed by Konstantin Burnaev

  • M README.md
  • 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.