blob: 267f73bd6fff7228b8b65de58d7cbbf7260c308f (
plain) (
blame)
1
2
3
4
5
6
7
|
class Job < ActiveRecord::Base
has_many :references
has_many :people, :through => :references
belongs_to :ideal_reference, :class_name => "Reference"
has_many :agents, :through => :people
end
|