Order of the state_machine callback chain

  1. before transition
  2. before validation
  3. after validation
  4. before save
  5. after save
  6. after transition

Aborting the callback chain

See Cancel the ActiveRecord callback chain.

Henning Koch Over 13 years ago