<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>After-Commit on Scholion</title><link>https://scholion.thluiz.com/tags/after-commit/</link><description>Recent content in After-Commit on Scholion</description><generator>Hugo -- gohugo.io</generator><language>pt-BR</language><copyright>© 2026</copyright><lastBuildDate>Mon, 03 Aug 2015 20:49:57 -0300</lastBuildDate><atom:link href="https://scholion.thluiz.com/tags/after-commit/index.xml" rel="self" type="application/rss+xml"/><item><title>A Couple of Callback Gotchas (and a Rails 5 Fix)</title><link>https://scholion.thluiz.com/notes/a-couple-of-callback-gotchas-and-a-rails-5-fix/</link><pubDate>Mon, 03 Aug 2015 20:49:57 -0300</pubDate><guid>https://scholion.thluiz.com/notes/a-couple-of-callback-gotchas-and-a-rails-5-fix/</guid><description>The post explains why &lt;code&gt;after_save&lt;/code&gt; can trigger background jobs before other processes can see the record, why &lt;code&gt;after_commit&lt;/code&gt; avoids that race, and why test suites need a separate fix until Rails 5.</description></item></channel></rss>