<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>YaaMaa</author_name>
  <author_url>https://blog.hatena.ne.jp/YaaMaa/</author_url>
  <blog_title>見返すかもしれないメモ</blog_title>
  <blog_url>https://yaamaa-memo.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby on Rails</anon>
  </categories>
  <description>jQueryを使ってajax通信を行いたいんだけど、Railsの環境だとどうしたらいいのか全くわからなかった。 「rails ajax」で検索したら「remote: trueにしたらいい」っていう記事ばっかり出て来るけど、それはフォームでの話らしい。私の場合、画像をクリックしたらajax通信したいので、jQueryでイベント検知するしかないなって感じだった。 qiita.com この記事がすごい参考になった。 それから、ajaxが終わったらその結果を使ってpartialを更新したかったので、以下の記事も読んだ。 Ajaxによるページ部分更新 [ Ruby on Rails ] https://…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyaamaa-memo.hatenablog.com%2Fentry%2F2016%2F12%2F26%2F000000&quot; title=&quot;RailsでjQueryからajax - 見返すかもしれないメモ&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>2016-12-26 00:00:00</published>
  <title>RailsでjQueryからajax</title>
  <type>rich</type>
  <url>https://yaamaa-memo.hatenablog.com/entry/2016/12/26/000000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
