Anybody know how to preselect multiple items in a collection_select?

<%= collection_select(:category, :id, @categories, :id, :name, options
={:prompt=>"-Hold Ctrl for many-"}, :multiple=>“multiple”,
:class=>“tags_list”, :id=>“search_tags”) %>


Take a look at the following screencast - it really helped me
understand how to do multiple selection lists…

On Aug 13, 9:39 pm, Justin To [email protected]

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs