13 Apr 2008, 11:57

russell Roberts (1 post)


I am using this succesfully if I follow the example and use the country collection for the select.

Should it be possible to edit a has_many field?

I have product belongs to category and category has many products

So in my show view of the product I have

<%= product.category.name if product.category_id %>

and in my new I have

<%= f.collection_select :category_id, Category.for_collection,:id,:name %>

So I am not sure how to get this to work with In place select editor field.

Thank you Russell

  You must be logged in to comment