Hi the following table
JobOrder: fields(id, date_filed, date_needed, request_by, process_by,
the request_by and the process_by field are the foreign key of the
How will the model look like?
class Joborder < ActiveRecord::Base
belongs_to :employee, :class_name => “Employee”, :foreign_key = >
belongs_to :employee, :class_name => “Employee”, :foreign_key =>
Is the model above the correct way?