<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
  <channel>
    <title>Recent Posts in 'In place select editor field' | Pragmatic Forums</title>
    <link>http://forums.pragprog.com/forums/8/topics/366</link>
    <language>en-us</language>
    <ttl>60</ttl>
    <description></description>
    <item>
      <title>In place select editor field posted by russell Roberts @ Sun, 13 Apr 2008 11:57:47 -0000</title>
      <description>&lt;p&gt;Hi&lt;/p&gt;


	&lt;p&gt;I am using this succesfully if I follow the example and use the country collection for the select.&lt;/p&gt;


	&lt;p&gt;Should it be possible to edit a has_many field?&lt;/p&gt;


	&lt;p&gt;I have product belongs to category and category has many products&lt;/p&gt;


	&lt;p&gt;So in my show view of the product I have&lt;/p&gt;


	&lt;p&gt;&amp;lt;%=  product.category.name if product.category_id %&amp;gt;&lt;/p&gt;


	&lt;p&gt;and in my new I have&lt;/p&gt;


	&lt;p&gt;&amp;lt;%= f.collection_select :category_id, Category.for_collection,:id,:name %&amp;gt;&lt;/p&gt;


	&lt;p&gt;So I am not sure how to get this to work with In place select editor field.&lt;/p&gt;


	&lt;p&gt;Thank you Russell&lt;/p&gt;</description>
      <pubDate>Sun, 13 Apr 2008 11:57:47 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:8:366:2585</guid>
      <author>russell Roberts</author>
      <link>http://forums.pragprog.com/forums/8/topics/366</link>
    </item>
  </channel>
</rss>
