<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>xibbar</author_name>
  <author_url>https://blog.hatena.ne.jp/xibbar/</author_url>
  <blog_title>福島餃子Ruby親方</blog_title>
  <blog_url>https://xibbar.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
    <anon>Rails</anon>
  </categories>
  <description>こんな便利なのがあるとは。 今まで &lt;%= params[:action]==&quot;index&quot; ? &quot;戻る&quot; : link_to(&quot;戻る&quot;,:action=&gt;&quot;index&quot;) %&gt; などと書いていたのに &lt;%= link_to_unless params[:action]==&quot;index&quot;,&quot;戻る&quot;,:action=&gt;&quot;index&quot;%&gt; などとDRYに書けるメソッドがすでにあったようです。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fxibbar.hatenablog.com%2Fentry%2F20071001%2F1191225822&quot; title=&quot;link_to_if, link_to_unless, link_to_unless_current - 福島餃子Ruby親方&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>2007-10-01 17:03:42</published>
  <title>link_to_if, link_to_unless, link_to_unless_current</title>
  <type>rich</type>
  <url>https://xibbar.hatenablog.com/entry/20071001/1191225822</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
