<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kwatch</author_name>
  <author_url>https://blog.hatena.ne.jp/kwatch/</author_url>
  <blog_title>kなんとかの日記</blog_title>
  <blog_url>https://kwatch.hatenadiary.org/</blog_url>
  <categories>
    <anon>merb</anon>
  </categories>
  <description>たとえば Book : Author が Many to Many の関係だったとする。このとき「Book.first.authors」を実行すると、「Unknown column 'author_id' in 'field list'」というエラーが出た。 $ merb -i irb&gt; Book.first.authors ~ SELECT `id`, `title`, `author_id` FROM `books` ORDER BY `id` LIMIT 1 ~ Unknown column 'author_id' in 'field list' (mysql_error_code=00…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkwatch.hatenadiary.org%2Fentry%2F20081215%2F1229355033&quot; title=&quot; DataMapper で「Unknown column &amp;#39;XXX_id&amp;#39; in &amp;#39;field list&amp;#39;」というエラーが出たとき - kなんとかの日記&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>2008-12-15 00:30:33</published>
  <title> DataMapper で「Unknown column 'XXX_id' in 'field list'」というエラーが出たとき</title>
  <type>rich</type>
  <url>https://kwatch.hatenadiary.org/entry/20081215/1229355033</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
