<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mTakata</author_name>
  <author_url>https://blog.hatena.ne.jp/mTakata/</author_url>
  <blog_title>Sun~sun~Flower's</blog_title>
  <blog_url>https://www.sunsunflowers.com/</blog_url>
  <categories>
    <anon>IT・プログラミング</anon>
  </categories>
  <description>こんにちは。 当ページにアクセスして下さり、ありがとうございます。 この記事は、プログラミング言語「Ruby」のフレームワーク「Rails」についての記事になります。 コントローラーからビューやモデルとやりとりする前に、まずルーティングを設定するという事はRailを学習してきたあなたなら、お分かりかと思います。 そのルーティングについて、例題を用いて解説しますね。 【目次】 例題 模範回答 解説 まとめ 例題 routes.rbでは、resourcesを使ってルーティングを定義します。 そして使うのが、「resources」というコード。 しかし、resourcesの代わりにresource（…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.sunsunflowers.com%2Fentry%2Fit%2Fabout-rails-routing&quot; title=&quot;【初心者向け】【Rails】routes.rbのresourcesとresourceの違いとは？ - Sun~sun~Flower&amp;#39;s&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>https://cdn-ak.f.st-hatena.com/images/fotolife/m/mTakata/20200523/20200523184811.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-05-26 10:00:00</published>
  <title>【初心者向け】【Rails】routes.rbのresourcesとresourceの違いとは？</title>
  <type>rich</type>
  <url>https://www.sunsunflowers.com/entry/it/about-rails-routing</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
