<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>unageanu</author_name>
  <author_url>https://blog.hatena.ne.jp/unageanu/</author_url>
  <blog_title>うなの日記</blog_title>
  <blog_url>https://unageanu.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>ActiveRecordで1:nリレーションのデータを扱います。 テーブル定義 CREATE TABLE kittens ( id int(11) NOT NULL auto_increment PRIMARY KEY, strain_id int(11) default NULL, name VARCHAR(255) ); CREATE TABLE strains ( id int(11) NOT NULL auto_increment PRIMARY KEY, name VARCHAR(255) ); 種族(strain)と猫(kitten)が1:nの関連です。 ARクラス それぞれのAc…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Funageanu.hatenablog.com%2Fentry%2F20070509%2F1178673015&quot; title=&quot; ActiveRecordで1:nリレーション - うなの日記&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>2007-05-09 10:10:15</published>
  <title> ActiveRecordで1:nリレーション</title>
  <type>rich</type>
  <url>https://unageanu.hatenablog.com/entry/20070509/1178673015</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
