<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>meikotan</author_name>
  <author_url>https://blog.hatena.ne.jp/meikotan/</author_url>
  <blog_title>FreeDrop</blog_title>
  <blog_url>https://one-person.hatenablog.jp/</blog_url>
  <categories>
    <anon>Rails</anon>
  </categories>
  <description>5.1~ form_withという form_for, form_tag を統合するメソッドが追加になり、form_for, form_tag は非推奨になります。 今まではmodelあり、なしで form_for, form_tag を使い分けてたけど、form_withの場合はそれが必要ない。モデルある、なしに関わらず同じように記載できます。 以前（form_for / form_tag） モデルあり from_for @user do = text_field :email end モデルなし form_tag root_path do |f| f.text_field_tag :ema…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fone-person.hatenablog.jp%2Fentry%2F2019%2F01%2F24%2F224707&quot; title=&quot;Rails 5.1～ [ form_for / form_tag ] =&amp;gt; form_with に統合！ - FreeDrop&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>2019-01-24 22:47:07</published>
  <title>Rails 5.1～ [ form_for / form_tag ] =&gt; form_with に統合！</title>
  <type>rich</type>
  <url>https://one-person.hatenablog.jp/entry/2019/01/24/224707</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
