Extra Credit

after_commit_action

Use this module to defer actions to the after-commit hook. This is useful if you want to trigger actions in after_create, after_destroy and

$gem install after_commit_action

Official docs outline

Extra Credit builds an outline of after_commit_action's docs the first time your work uses it. Until then, start at the official documentation.

All 3,925