I have three multiple selects in a single view:
<label for="technicians">Technicians:</label><br /> <select id="technicians" name="technicians" multiple="multiple" size="5" style="width:250px;"> <%= options_from_collection_for_select(@all_technicians, :id, :name, @selected_technicians) %> </select>
<label for="computers">Computer Models:</label><br /> <select id="computers" name="computers" multiple="multiple" size="3" style="width:150px;"> <%= options_from_collection_for_select(@all_computers, :id, :model, @selected_computers) %> </select>
<label for="licensed_programs">Licensed Software:</label><br /> <select id="licensed_programs" name="licensed_programs" multiple="multiple" size="8" style="width:200px"> <%= options_from_collection_for_select(@all_licensed_programs, :id, :name, @selected_licensed_programs) %> </select>
The select lists populate with no trouble.
The problem I'm having is that only the first one works. After creating an entry via the view the only join table that is populated is sites_technicians. The other two are completely blank. Any hints, advice, beratement etc. would be greatly appreciated.