diff options
Diffstat (limited to 'activerecord/test/models/job.rb')
-rw-r--r-- | activerecord/test/models/job.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/test/models/job.rb b/activerecord/test/models/job.rb index 3333a02e27..46b1d87aa1 100644 --- a/activerecord/test/models/job.rb +++ b/activerecord/test/models/job.rb @@ -2,4 +2,6 @@ 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 |