<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kuraosan</author_name>
  <author_url>https://blog.hatena.ne.jp/kuraosan/</author_url>
  <blog_title>Sansan Tech Blog</blog_title>
  <blog_url>https://buildersbox.corp-sansan.com/</blog_url>
  <categories>
    <anon>Eight</anon>
    <anon>Ruby</anon>
    <anon>Rails</anon>
    <anon>サーバーサイド</anon>
  </categories>
  <description>こんにちは、Eightの開発を担当している倉田です。Eightではこれまで、トランザクションのコミット後に処理を実行するためにafter_commit_everywhereからRails 7.2で新たに追加されたActiveRecord.after_all_transactions_commitへ移行しました。本記事では、移行を完了させた方法を紹介するとともに、移行を進める中で直面した、両者が混在する環境における技術的な問題点についても掘り下げます。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbuildersbox.corp-sansan.com%2Fentry%2F2026%2F01%2F27%2F150000&quot; title=&quot;AfterCommitEverywhereからRails 7.2で追加されたActiveRecord.after_all_transactions_commitへの移行 - Sansan Tech Blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-01-27 15:00:00</published>
  <title>AfterCommitEverywhereからRails 7.2で追加されたActiveRecord.after_all_transactions_commitへの移行</title>
  <type>rich</type>
  <url>https://buildersbox.corp-sansan.com/entry/2026/01/27/150000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
