Changeset [3f4a6b1a0b5096bb9c1ec64fd0dd3a40f34fdf39] by Thorsten Böttger

August 10th, 2014 @ 01:33 PM

Merge pull request #151 from ivantsepp/after_commit_not_saving

after_commit callbacks should only run if saved
https://github.com/aasm/aasm/commit/3f4a6b1a0b5096bb9c1ec64fd0dd3a4...

Committed by Thorsten Böttger

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