<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>asagix</author_name>
  <author_url>https://blog.hatena.ne.jp/asagix/</author_url>
  <blog_title>明日から本気出すブログ</blog_title>
  <blog_url>https://asagix.hatenablog.jp/</blog_url>
  <categories>
    <anon>rails</anon>
    <anon>moe3</anon>
    <anon>ruby</anon>
  </categories>
  <description>Unit（軍）モデル Order モデルの実装の前に Unit を作ってしまおう。 Army（陸軍）と Fleet（海軍）は例によって単一テーブル継承。 Phase はまだイメージが固まってないので後回し。 スキーマ シンプル。 create_table &quot;units&quot;, force: true do |t| t.integer &quot;phase_id&quot; t.integer &quot;power_id&quot; t.integer &quot;province_id&quot; t.string &quot;type&quot; t.datetime &quot;created_at&quot; t.datetime &quot;updated_at&quot; end クラス定義 シンプル…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fasagix.hatenablog.jp%2Fentry%2F2013%2F08%2F26%2F080156&quot; title=&quot;MOE3: Unit モデル実装 - 明日から本気出すブログ&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>http://cdn-ak.f.st-hatena.com/images/fotolife/a/asagix/20130825/20130825004400.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2013-08-26 08:01:56</published>
  <title>MOE3: Unit モデル実装</title>
  <type>rich</type>
  <url>https://asagix.hatenablog.jp/entry/2013/08/26/080156</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
