aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/job.rb
blob: 52817a8435b5a21a7fab6d548bb0c5ddf51c6d52 (plain) (blame)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

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