<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ayaketan</author_name>
  <author_url>https://blog.hatena.ne.jp/ayaketan/</author_url>
  <blog_title>ayaketanのプログラミング勉強日記</blog_title>
  <blog_url>https://ayaketan.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>resourcesとresourceの違いで混乱したので、メモ。 1.resourcesメソッド リソースとは、コントローラが扱う対象に名前を付けたもの。routes.rbに下記のように記述すると、リソース名を設定できる resources :リソース名の複数形 たとえば、顧客情報をリソースとして扱うには、下記のように書く。 resources :customers resourcesメソッドを使用すると、CustomersControllerに対して、次の7つのアクションのルーティングが設定できる。①index リソース一覧を表示する （例）顧客一覧②show リソースの内容を表示する （例…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fayaketan.hatenablog.com%2Fentry%2F2012%2F12%2F19%2F224456&quot; title=&quot;Ruby on Rails ルーティング - ayaketanのプログラミング勉強日記&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>2012-12-19 22:44:56</published>
  <title>Ruby on Rails ルーティング</title>
  <type>rich</type>
  <url>https://ayaketan.hatenablog.com/entry/2012/12/19/224456</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
