search for: subequipment

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

2006 Mar 22
0
Another Problem with params
I am trying to do a similar thing for some spares that I am trying to manage... My spare.rb file is as under class Spare < ActiveRecord::Base belongs_to :department, :class_name => ''department'', :foreign_key => ''department_id'' belongs_to :subequipment, class_name => ''subequipment'', :foreign_key => ''sub_equipment'' <snip> My view reads <snip> <p><label for="spare_department">Department</label><br/> <select name="spare[department_id]"> <% @...