diff options
Diffstat (limited to 'activerecord/test/models/reference.rb')
-rw-r--r-- | activerecord/test/models/reference.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/test/models/reference.rb b/activerecord/test/models/reference.rb index 4a17c936f5..87d4a71963 100644 --- a/activerecord/test/models/reference.rb +++ b/activerecord/test/models/reference.rb @@ -1,6 +1,8 @@ class Reference < ActiveRecord::Base belongs_to :person belongs_to :job + + has_many :agents_posts_authors, :through => :person end class BadReference < ActiveRecord::Base |