<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gennei</author_name>
  <author_url>https://blog.hatena.ne.jp/gennei/</author_url>
  <blog_title>gennei's blog</blog_title>
  <blog_url>https://gennei.hatenablog.jp/</blog_url>
  <categories>
    <anon>Ruby</anon>
    <anon>Ruby on Rails</anon>
  </categories>
  <description>※動作環境はRails 4.1.6です 「リスト10.20 サンプルデータにマイクロポスト用のコードを追加する。」の以下のコード users = User.all(limit: 6) Rails4から上記のコードの モデル.all(limit: num) は廃止になった。 以下のように修正 users = User.limit(6) これで6件まで抽出できるようになる。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgennei.hatenablog.jp%2Fentry%2F2014%2F12%2F08%2F004408&quot; title=&quot;Rails Tutorial 10章 サンプルデータ作成時にエラーが出たので解決した - gennei&amp;#39;s blog&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>2014-12-08 00:44:08</published>
  <title>Rails Tutorial 10章 サンプルデータ作成時にエラーが出たので解決した</title>
  <type>rich</type>
  <url>https://gennei.hatenablog.jp/entry/2014/12/08/004408</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
