<?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>ドキュメントに載ってないことを補足していこうシリーズ。DataMapper で、たとえば次のようなモデルクラスがあるとする。 ### 従業員 class Employee include DataMapper::Resource property :id, Serial property :name, String, :nullable =&gt; false property :department_id, Integer belongs_to :department end ### 部門 class Department include DataMapper::Resource property…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkwatch.hatenadiary.org%2Fentry%2F20081210%2F1228922402&quot; title=&quot; DataMapper で relation を使った検索 - 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-10 00:20:02</published>
  <title> DataMapper で relation を使った検索</title>
  <type>rich</type>
  <url>https://kwatch.hatenadiary.org/entry/20081210/1228922402</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
