Hi, quick question:
<%= collection_select(:category, :id, @categories, :id, :name, options ={}, :multiple=>"multiple" %>
1) How can I use params to pre-select multiple items?
Thanks
Hi, quick question:
<%= collection_select(:category, :id, @categories, :id, :name, options ={}, :multiple=>"multiple" %>
1) How can I use params to pre-select multiple items?
Thanks