2008-04-25 18:23:48 -04:00
|
|
|
class Job < ActiveRecord::Base
|
|
|
|
has_many :references
|
|
|
|
has_many :people, :through => :references
|
|
|
|
belongs_to :ideal_reference, :class_name => 'Reference'
|
2010-10-09 17:00:33 -04:00
|
|
|
|
|
|
|
has_many :agents, :through => :people
|
2008-04-25 18:23:48 -04:00
|
|
|
end
|