<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tamata78</author_name>
  <author_url>https://blog.hatena.ne.jp/tamata78/</author_url>
  <blog_title>気軽に楽しくプログラムと遊ぶ</blog_title>
  <blog_url>https://tamata78.hatenablog.com/</blog_url>
  <categories>
    <anon>Rails</anon>
  </categories>
  <description>今回はプロゲートの中級 3章の「scaffoldのコードに近付けよう(2)」をやっていきます。 form_tagとform_for form_tag：モデルオブジェクトに紐付かない検索フォームを表示する場合に用いる。 form_for：モデルオブジェクトの属性を入力フォームに表示する場合に用いる。 form_tagを用いる場合 &lt;%= form_tag note_path(@note.id), method: 'patch' do %&gt; タイトル &lt;%= text_field_tag 'note[:title]', @note.title, class: &quot;form-control...&quot; %…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftamata78.hatenablog.com%2Fentry%2F2015%2F11%2F30%2F100000_1&quot; title=&quot;Rails モデル作成メソッドの実装をscaffoldの実装に近づける(2) - 気軽に楽しくプログラムと遊ぶ&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>2015-11-30 10:00:00</published>
  <title>Rails モデル作成メソッドの実装をscaffoldの実装に近づける(2)</title>
  <type>rich</type>
  <url>https://tamata78.hatenablog.com/entry/2015/11/30/100000_1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
