jeremyevans/sequel — Issue #383: after_commit hook
Author: JonathanTron
Created: 2011-10-13 08:42:03+00:00
State: open

On a recent project I had need to trigger some background processing when a model is created.

It would have been helpful in this case to have an `after_commit` hook, from which I can safely create the background task knowing the transaction has already been commited.

I could add it myself if you give me pointer about where I should put such a hook.