Changeset [0c4a25a8d49975f0c94ac071823cd5b1ab261752] by Aryk Grosz

July 6th, 2017 @ 10:38 PM

Add Sequel transactions and locking

  • Add aasm features of ActiveRecord to Sequel! :)
  • All specs pass for sequel, activerecord, and mongoid.
  • Refactor Sequel models to be namespaced under “Sequel”. We should do something similar for ActiveRecord in the specs to avoid collisions.

Addresses #474

(cherry picked from commit df97ce754f47864abbcb837227da5c4d0ff77289) https://github.com/aasm/aasm/commit/0c4a25a8d49975f0c94ac071823cd5b...

Committed by Aryk Grosz

  • A spec/models/sequel/invalid_persistor.rb
  • A spec/models/sequel/silent_persistor.rb
  • A spec/models/sequel/transactor.rb
  • A spec/models/sequel/validator.rb
  • A spec/models/sequel/worker.rb
  • M lib/aasm/persistence/sequel_persistence.rb
  • M spec/models/sequel/complex_sequel_example.rb
  • M spec/models/sequel/sequel_multiple.rb
  • M spec/models/sequel/sequel_simple.rb
  • M spec/unit/persistence/sequel_persistence_multiple_spec.rb
  • M spec/unit/persistence/sequel_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.