<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shuzo_kino</author_name>
  <author_url>https://blog.hatena.ne.jp/shuzo_kino/</author_url>
  <blog_title>Bye Bye Moore</blog_title>
  <blog_url>https://shuzo-kino.hateblo.jp/</blog_url>
  <categories>
    <anon>slim</anon>
  </categories>
  <description>erbからslimに移行する際の注意点です。erb2slimを使えば、簡単に変換できます。 が、開発者の意図までは酌んでくれません。 例えば、blockを使ったスクリプトを書いていると意図せずクラッシュする可能性があります。 具体例 &lt;%= form_tag :hoge, :id =&gt; :piyo do %&gt; &lt;%= hidden_field_tag :foo, @user.id %&gt; &lt;%= hidden_field_tag :bar %&gt; &lt;% end %&gt; &lt;% end %&gt;と書いていると、 以下のようにご丁寧にも揃えてくれます。 = form_tag(:hoge, :id =&gt; :pi…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshuzo-kino.hateblo.jp%2Fentry%2F2013%2F10%2F20%2F210911&quot; title=&quot;erbからslimに移行する際はblockのチェックを忘れずに - Bye Bye Moore&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>2013-10-20 21:09:11</published>
  <title>erbからslimに移行する際はblockのチェックを忘れずに</title>
  <type>rich</type>
  <url>https://shuzo-kino.hateblo.jp/entry/2013/10/20/210911</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
