<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Takanori11</author_name>
  <author_url>https://blog.hatena.ne.jp/Takanori11/</author_url>
  <blog_title>Takanoriのブログ</blog_title>
  <blog_url>https://takanori11.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
    <anon>Ruby on Rails</anon>
  </categories>
  <description>Railsのプロジェクトを作成したら、次はまず、generateコマンドを使ってコードを生成することが多いと思います。 $ rails g ◯◯ 例えば、◯◯のところがscaffoldだったら、MVCそれぞれのコード、migrationファイルなどが生成されます。大量に生成されるので、◯◯の部分がmodelの場合、controllerの場合、何が生成されるがRails初心者にとってわかりにくいです。うっかり不要なものまで生成していまいました。 ちなみに以下のようにと入力すると・・・ $ rails g scaffold task content:text こんなにも生成できます。 書籍やインタ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakanori11.hatenablog.com%2Fentry%2F2015%2F09%2F12%2F224531&quot; title=&quot;Ruby on Railsのgenerateコマンドをまとめた - Takanoriのブログ&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/T/Takanori11/20150912/20150912205756.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-09-12 22:45:31</published>
  <title>Ruby on Railsのgenerateコマンドをまとめた</title>
  <type>rich</type>
  <url>https://takanori11.hatenablog.com/entry/2015/09/12/224531</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
