search for: project_owner_id

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

2005 Mar 08
1
Adding to model (newbie)
...The DB has ''first_name'' and ''last_name'', and I''d like to have "full_name" available. So - models/owner.rb: def self.full_name first_name + '' '' + last_name end Then, in projects/edit.rhtml: <p><label for="project_owner_id">Owner</label><br /><select id="project_owner_id" name="project[owner_id]"><%= options_from_collection_for_select @owners, "id", "full_name", @project.owner_id %></select> When I try to access this, I get "NoMeth...