I have a view in which I would like to set values for three separate
join tables. Everything seems to work fine from the console but when
I use the _form.rhtml it only inserts values into the first join
This is what I have in my _form.rhtml
<%= options_from_collection_for_select(@all_technicians, :id, :name, @selected_technicians) %>
<%= options_from_collection_for_select(@all_computers, :id, :model, @selected_computers) %>
<%= options_from_collection_for_select(@all_licensed_programs, :id, :name, @selected_licensed_programs) %>
The html that is generated looks good too
Albert Martinez Chris Sanchez Luis Arvizu Orlando Garcia Richard Martinez Thao Dang
I would guess I’m missing how/where it’s being passed to
ActiveRecord. Although technicians works and I have the subsequent
two constructed in a similar fashion.
Any help would be greatly appreciated.