Comments on: ActiveRecord after_commit hook /2012/08/28/activerecord-after_commit-hook/ Wed, 06 Nov 2013 11:33:31 +0000 hourly 1 #/?v=4.9.8 By: Bruno Sutic /2012/08/28/activerecord-after_commit-hook/comment-page-1/#comment-56828 Tue, 02 Oct 2012 22:42:22 +0000 /?p=487#comment-56828 Hi, this helped a lot – I didn’t know there was an after_commit callback.

I had a situation where committing to the database took some time, and in the meantime my background job tried to access that record (and it was not saved jet). It was confusing but this post saved the day 🙂

]]>