<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yune_kotomi</author_name>
  <author_url>https://blog.hatena.ne.jp/yune_kotomi/</author_url>
  <blog_title>青空を探す、旅の記録。</blog_title>
  <blog_url>https://yune-kotomi.hatenadiary.jp/</blog_url>
  <categories>
    <anon>開発</anon>
    <anon>Rails</anon>
  </categories>
  <description>Railsで日本語扱う(と言うか、UTF-8で動かす)場合、常套手段としてcontroller/application.rbで before_filter :set_chaset def set_charset @headers[&quot;Content-Type&quot;] = &quot;text/html; charset=utf-8&quot; end とやってContent-Typeにcharsetを仕込みますけど、これやってるときにRJSを使うのにはちょっと注意が必要。 RJSでJavaScriptソースを返すアクション中で、 @headers[&quot;Content-Type&quot;] = &quot;text/javascript; …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyune-kotomi.hatenadiary.jp%2Fentry%2F20060623%2F1151079081&quot; title=&quot;RJSの落とし穴。 - 青空を探す、旅の記録。&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>2006-06-23 01:11:21</published>
  <title>RJSの落とし穴。</title>
  <type>rich</type>
  <url>https://yune-kotomi.hatenadiary.jp/entry/20060623/1151079081</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
