search for: owned_mast

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

2007 Apr 20
0
problems returning collection_select info to controller
...nt = Requirement.new(params[:requirement]) <<<<FAILS HERE BECAUSE OWNER RECEIVES a STRING INSTEAD OF A USER OBJECT IN THE MODELS: master.rb belongs_to :owner, :class_name => ''User'', :foreign_key => ''owner'' user.rb has_many :owned_masters, :class_name => ''Master'', :foreign_key => ''owner'' I suspect that my form is not quite right but I have already tried several different combinations, all with the same result that I gave here. The selection list in the html is being populated correctly...