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