Notes posted by MrJaba
RSS feedMultiple select and observe form
To make an observe form send all of the values selected in a multiple select html list, ensure you have the square brackets set in the name for the select tag e.g: group[]. This makes it pass the selected options in the params hash as an array.
<% remote_form_for :model, :url => {:action => ‘list’}, :html =>{:id => ‘model_id’} do |form| %>
<%= select_tag(‘group[]’, options_for_select(Model.find(:all).collect{|v|v.property}), :multiple => true) %>
<% end %>
<%= observe_form( ‘model’, :frequency => 2, :url => {:action => ‘list’} ) %>