Concept Flow - Callbacks overview
Object Created
Before Validation Callback
Validation
After Validation Callback
Before Save Callback
Before Create or Update Callback
Save to Database
After Create or Update Callback
After Save Callback
After Commit Callback
Object Ready
Rails callbacks run in a specific order around object lifecycle events like validation and saving, allowing code to run before or after these steps.