<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>dai3846</author_name>
  <author_url>https://blog.hatena.ne.jp/dai3846/</author_url>
  <blog_title>dai日記</blog_title>
  <blog_url>https://dai3846.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>AjaxなLinkを作るときは、link_to_remote link_to_remote 'text', :update =&gt; :target_id, :url =&gt; url こんな事さえ忘れるなんて。。やっぱ使ってないとダメだね。ボタンの場合は submit_to_remote 'tag_name', 'text', :update =&gt; :target_id, :url =&gt; url こんな感じ。controller側では request.xhr? でAjaxリクエストか否か判断できるんで、 例えば、入力フォームをajaxで出して、登録ボタンを押すと入力した内容で登録しにいく。 みたいな…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdai3846.hatenadiary.org%2Fentry%2F20110720%2F1311180443&quot; title=&quot; [ruby][rails] Ajaxおさらいとactionの書き方 - dai日記&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-07-20 01:47:23</published>
  <title> [ruby][rails] Ajaxおさらいとactionの書き方</title>
  <type>rich</type>
  <url>https://dai3846.hatenadiary.org/entry/20110720/1311180443</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
