search for: find_all_by_firm_id

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

2005 Sep 28
0
search engine, select the selected option
...abel for="employee_id">Employee</label></td> <td colspan="3"><%= select "employee", "id", @employees.collect {|e| [e.last_name + " " + e.first_name,e.id]} %></td> </tr> code controller @employees = Employee.find_all_by_firm_id(firm_id, :order =>"last_name ASC") @geotags = Geotag.find_all_by_firm_id(firm_id, :order =>"address1 ASC") @employee_id = params[:employee][:id].blank? ? '''' : params[:employee][:id] @geotag_id = params[:geotag][:id].blank? ? '''' : params...