<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tkawa</author_name>
  <author_url>https://blog.hatena.ne.jp/tkawa/</author_url>
  <blog_title>ぶろぐ。@はてな</blog_title>
  <blog_url>https://tkawa.hatenadiary.org/</blog_url>
  <categories>
    <anon>rails</anon>
    <anon>rest</anon>
  </categories>
  <description>今回は、URLのスラッシュはどのようなときに使えばいいのか考えてみました。 resourcesのネスト URLはスラッシュ「/」で階層構造を表します。Railsでは、routes.rbでresourcesをこのようにネストして使うと、 resources :users do resources :articles end このようなURLができます。 http://example.com/users http://example.com/users/1 http://example.com/users/1/articles /users で「ユーザー全体」、 /users/1 で「ユーザーの1…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftkawa.hatenadiary.org%2Fentry%2F20110819%2Fp1&quot; title=&quot; RailsでのURL設計を考えてみる(4) スラッシュと「持っている」関係 - ぶろぐ。@はてな&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>2011-08-19 00:00:00</published>
  <title> RailsでのURL設計を考えてみる(4) スラッシュと「持っている」関係</title>
  <type>rich</type>
  <url>https://tkawa.hatenadiary.org/entry/20110819/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
