<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mgmhrkw</author_name>
  <author_url>https://blog.hatena.ne.jp/mgmhrkw/</author_url>
  <blog_title>mgmhrkwの日記</blog_title>
  <blog_url>https://mgmhrkw.hatenadiary.org/</blog_url>
  <categories>
    <anon>rails</anon>
  </categories>
  <description>モデルの作成テーブルを作成する前に、モデルを作成しましょう。 モデルを作成するには、コントローラを作成したときのように、コマンドプロンプトからscript\generateスクリプトを実行します。 cd\rails\アプリケーション名 ruby script\generate model member Railsの命名規約では、モデルに対応するデータベースのテーブル名はmembersのように複数形になります。モデルのクラス名はMemberのように頭が大文字の単数形になります。 マイグレーション次に、Memberモデルに対応するmembersテーブルを作りましょう。 Railsでは、データベース…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmgmhrkw.hatenadiary.org%2Fentry%2F20100818%2F1282120359&quot; title=&quot;テーブルの作成 - mgmhrkwの日記&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>2010-08-18 17:32:39</published>
  <title>テーブルの作成</title>
  <type>rich</type>
  <url>https://mgmhrkw.hatenadiary.org/entry/20100818/1282120359</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
