<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>suginoy</author_name>
  <author_url>https://blog.hatena.ne.jp/suginoy/</author_url>
  <blog_title>杉風呂2.0 - A Lifelog -</blog_title>
  <blog_url>https://suginoy.hatenadiary.org/</blog_url>
  <categories>
    <anon>Rails</anon>
  </categories>
  <description>Qiitaにメモしておいたんだけど、こちらにも書いておく。 http://qiita.com/items/812ビューテンプレート./app/tasks/index.html.erb から &lt;% @tasks.each do |task| %&gt; &lt;%= render task %&gt; &lt;% end %&gt; のようにして部分テンプレート./app/tasks/_task.html.erbを表示させたときに、部分テンプレート内で &lt;%= link_to 'Show', task %&gt; と書くと、 &quot;/tasks/1&quot; というRESTful URLではなく、 &quot;/task.1&quot; といったURLが生成され…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsuginoy.hatenadiary.org%2Fentry%2F20111102%2Fp2&quot; title=&quot;Rails3の部分テンプレート内でxxx_pathというビューヘルパーが使用できない - 杉風呂2.0 - A Lifelog -&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-11-02 00:00:01</published>
  <title>Rails3の部分テンプレート内でxxx_pathというビューヘルパーが使用できない</title>
  <type>rich</type>
  <url>https://suginoy.hatenadiary.org/entry/20111102/p2</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
