aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/owner.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/models/owner.rb')
-rw-r--r--activerecord/test/models/owner.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/activerecord/test/models/owner.rb b/activerecord/test/models/owner.rb
index dbaf2ce688..5760b991ec 100644
--- a/activerecord/test/models/owner.rb
+++ b/activerecord/test/models/owner.rb
@@ -1,4 +1,5 @@
class Owner < ActiveRecord::Base
set_primary_key :owner_id
has_many :pets
-end \ No newline at end of file
+ has_many :toys, :through => :pets
+end