search for: sub_equipment_nam

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

Did you mean: sub_equipment_name
2006 Mar 22
0
Another Problem with params
...gt; </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 a second one like sub-equipment by adding the line belongs_to :subequipment, class_name => ''subequipment'', :f...