<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mota5</author_name>
  <author_url>https://blog.hatena.ne.jp/mota5/</author_url>
  <blog_title>私の歴史と今</blog_title>
  <blog_url>https://tsurugeek.hatenablog.jp/</blog_url>
  <categories>
    <anon>rails4</anon>
  </categories>
  <description>shallowではまったネタを。 shallowとは railsにはRESTfulなURLを複雑にしないためのshallowというオプションが存在する。詳しくはこちらを。 Ruby on Rails ガイド：体系的に Rails を学ぼうrailsguides.jp 実際の指定 実際にはこう指定している。 namespace :admin do resources :accounts do resources :account_games, shallow: true end end 子リソースのidが決まっている場合はURLをネストする必要はないので大歓迎なのだが、_form.html.er…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftsurugeek.hatenablog.jp%2Fentry%2F2015%2F04%2F18%2F205341&quot; title=&quot;railsのroutesで指定するshallowではまった - 私の歴史と今&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>2015-04-18 20:53:41</published>
  <title>railsのroutesで指定するshallowではまった</title>
  <type>rich</type>
  <url>https://tsurugeek.hatenablog.jp/entry/2015/04/18/205341</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
