<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>maguro-don</author_name>
  <author_url>https://blog.hatena.ne.jp/maguro-don/</author_url>
  <blog_title>まぐろ丼</blog_title>
  <blog_url>https://maguro-don.hatenadiary.org/</blog_url>
  <categories>
    <anon>rails3</anon>
  </categories>
  <description>postとかcookieとか他にも方法はあるようですが、 今回はクエリとしてURLにパラメータくっつけて渡します。｜環境 CentOS6.4 Rails 3.2.13 ruby 1.9.3 MariaDB 5.5.32 ｜view側 &lt;%= link_to(&quot;リンク名&quot;, :action =&gt; &quot;hoge&quot;, :para =&gt; @para.id) %&gt; 第一引数はリンク名、第二引数はアクション名、第三引数にコントローラに送るパラメータを指定。 ｜controller側 def hoge logger.debug (params[:para]) end params[:para] にview側の…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmaguro-don.hatenadiary.org%2Fentry%2F20140321%2F1395410253&quot; title=&quot;link_toヘルパーを利用してviewからcontrollerに値を渡す - まぐろ丼&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>2014-03-21 22:57:33</published>
  <title>link_toヘルパーを利用してviewからcontrollerに値を渡す</title>
  <type>rich</type>
  <url>https://maguro-don.hatenadiary.org/entry/20140321/1395410253</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
