<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kwatch</author_name>
  <author_url>https://blog.hatena.ne.jp/kwatch/</author_url>
  <blog_title>kなんとかの日記</blog_title>
  <blog_url>https://kwatch.hatenadiary.org/</blog_url>
  <categories>
    <anon>merb</anon>
  </categories>
  <description>1 つのフォームで複数のモデルオブジェクトを使いたい場合、Merb では「text_field :mail」のようには書けず、「text_field :name=&gt;&quot;user[#{user.id}][mail]&quot;」のように手動で name 属性を指定しないといけない。たとえば： &lt;% @users.each do |user| %&gt; &lt;% id = user.id %&gt; &lt;p&gt; &lt;%= text_field :name =&gt; &quot;user[#{user.id}][name]&quot;, :label =&gt; 'Name', :value =&gt; user.name, :id =&gt; &quot;user_name_#{…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkwatch.hatenadiary.org%2Fentry%2F20081211%2F1229011276&quot; title=&quot; 1 つのフォームで複数のモデルオブジェクトを使う - kなんとかの日記&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>2008-12-11 01:01:16</published>
  <title> 1 つのフォームで複数のモデルオブジェクトを使う</title>
  <type>rich</type>
  <url>https://kwatch.hatenadiary.org/entry/20081211/1229011276</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
