Topic: MULTI SELECT DROP DOWN BOXES HELP!

Has anyone used this in Rails. I am able to ctrl and click on dropdown. Does the join table get the updates. There really is no samples of this in Agile.  Any thoughts or help would be
appreciated.  Thanks

Re: MULTI SELECT DROP DOWN BOXES HELP!

Well, I set something up, I don't really know what you have so far so here is a stab:
In your view, setup the multiple select:

<%= form_tag :action => 'test_it' %>
  <%= select_tag "test[]", '<option value="1">one</option><option value="2">two</option><option value="3">three</option>', :multiple => true %>
  <%= submit_tag "Submit" %>
<%= form_tag %>

In your controller, setup the code to display the params, so we know what we are working with:
def test_it
  render :text => params.inspect
end

This displays the following:
{"commit"=>"Submit", "action"=>"test_it", "controller"=>"test_it", "test"=>["1", "2"]}

So we see params[:test] as an array of ids to the join/association object ids.

Now saving can get tricky, my favorite examples of how to do this are at railscasts.com - Complex Forms Part 1 - Part 3:
http://railscasts.com/episodes/73
http://railscasts.com/episodes/74
http://railscasts.com/episodes/75

Hope this helps.

Re: MULTI SELECT DROP DOWN BOXES HELP!

Thanks for info.  I was relating doctors to language dropdown list.  Found
sample in cookbook over w/e.  Had to tweak controller code though to get it to work.