<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Thoames1212</author_name>
  <author_url>https://blog.hatena.ne.jp/Thoames1212/</author_url>
  <blog_title>とーますメモ</blog_title>
  <blog_url>https://thoames.hatenadiary.jp/</blog_url>
  <categories>
    <anon>Rails</anon>
  </categories>
  <description>renderではなく、「render_to_string」を使用すれば良い。例）views/templates/_default.html.erbを使用する前提。 render_to_string partial: &quot;templates/default&quot;, locals: { title: params[:title], body: params[:body] } [参考] ruby-rails.hatenadiary.com</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fthoames.hatenadiary.jp%2Fentry%2F2018%2F01%2F25%2F064249&quot; title=&quot;【Rails】renderで指定したテンプレートの内容（文字列）だけを取得したい場合 - とーますメモ&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>2018-01-25 06:42:49</published>
  <title>【Rails】renderで指定したテンプレートの内容（文字列）だけを取得したい場合</title>
  <type>rich</type>
  <url>https://thoames.hatenadiary.jp/entry/2018/01/25/064249</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
