Changeset [5739f9221908317019f98b323e8c4996f52efad0] by Matthew Wilde

2016-06-19 01:27:50 UTC

Implement whiny persistence so that transition! will raise by default, mirroring ActiveRecord's behavior.

@PragTob's suggestion from https://github.com/aasm/aasm/issues/262. https://github.com/aasm/aasm/commit/5739f9221908317019f98b323e8c499...

Committed by Matthew Wilde

  • 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/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.