search for: subequipments

Displaying 1 result from an estimated 1 matches for "subequipments".

Did you mean: subequipment
2006 Mar 22
0
Another Problem with params
...%= department_id.id %>"> <%= department_id.department_name %> </option> <% end %> </select> </p> <p><label for="spare_sub_equipment">Sub equipment</label><br/> <select name="spare[subequipment]"> <% @subequipments.each do |subequipment| %> <option value="<%= subequipment.id %>"> <%= subequipment.sub_equipment_name %> </option> <% end %> </select> </p> <snip> It works fine if I have only one foreign key say department. When I try to introduce...