Active Record Callbacks

Expert guidance for Active Record callbacks — lifecycle hooks, ordering, conditional execution, transaction callbacks, and halting. VERY opinionated about when NOT to use callbacks. Use when working with callbacks, before_save, after_create, after_commit, lifecycle hooks, before_validation, around_save, after_update, before_destroy, or when deciding whether logic belongs in a callback vs a service object.

omacom 9e66382 2 files · 31.5 KB Updated

File contents

omacom/omarchy-theme-marketplace/tree/main/.claude/skills/active-record-callbacks commit 9e6638225a

Frequently asked questions

npx skillmds@latest add omacom/active-record-callbacks