collection_select

Hey!

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") %>

Thanks!

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

http://www.rubyplus.org/episodes/81