<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Spring_MT</author_name>
  <author_url>https://blog.hatena.ne.jp/Spring_MT/</author_url>
  <blog_title>CubicLouve</blog_title>
  <blog_url>https://spring-mt.hatenablog.com/</blog_url>
  <categories>
    <anon>rails</anon>
    <anon>ruby</anon>
  </categories>
  <description>申し訳ありません この記事完全に自分の間違いでした。 まず、自分のrailsアプリでは、、もろもろの深淵な理由で、モデルを作るときにActiveRecord::Baseを直接継承せずに、全てのモデルに共通で使うモデルを再定義しています。 なぜこんな事をしているかというと、これまた深淵な理由で、connection poolingができないからです。 まあ、そのモデルの基底クラスでゴニョゴニョしているせいで、ActiveRecord::Base使ってDBに繋ぎに行く場合と、モデルからDBに繋ぎに行く場合でコネクションが別々になっていました。 本当に申し訳ないです。。。。 つまりこの問題は、私のr…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fspring-mt.hatenablog.com%2Fentry%2F2014%2F04%2F18%2F143746&quot; title=&quot;Rails4のtransactionでハマった &amp;lt;- これは私の間違いでした - CubicLouve&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>2014-04-18 14:37:46</published>
  <title>Rails4のtransactionでハマった &lt;- これは私の間違いでした</title>
  <type>rich</type>
  <url>https://spring-mt.hatenablog.com/entry/2014/04/18/143746</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
