aboutsummaryrefslogblamecommitdiffstats
path: root/activerecord/test/models/job.rb
blob: f7b0e787b13cbfd71e119e2a9ab80ae5dd7e77f6 (plain) (tree)
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