Mine
public text v1 · immutable<p><label for="product_category">Category</label><br/>
<%= collection_select("product", "category_id", @categories, :id, :title ) %>
or a new category <%= text_field 'category', 'title' %>
</p> <p><label for="product_category">Category</label><br/>
<%= collection_select("product", "category_id", @categories, :id, :title ) %>
or a new category <%= text_field 'category', 'title' %>
</p>