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 11 years ago
This website uses short-lived cookies to improve usability.
Accept or learn more