Changeset [26b7336dac7b95dc43e8f3995cd84afc52c111f6] by Thorsten Böttger

June 19th, 2016 @ 02:31 AM

Merge pull request #366 from Gusto/master

Implement whiny persistence so that transition! will raise by default, mirroring ActiveRecord's behavior.
https://github.com/aasm/aasm/commit/26b7336dac7b95dc43e8f3995cd84af...

Committed by Thorsten Böttger

  • A spec/models/silent_persistor.rb
  • M lib/aasm/base.rb
  • M lib/aasm/configuration.rb
  • M lib/aasm/persistence/active_record_persistence.rb
  • M lib/aasm/version.rb
  • M spec/database.rb
  • M spec/models/validator.rb
  • M spec/unit/persistence/active_record_persistence_multiple_spec.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.