diff options
Diffstat (limited to 'activerecord/test/fixtures/person.rb')
-rw-r--r-- | activerecord/test/fixtures/person.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/activerecord/test/fixtures/person.rb b/activerecord/test/fixtures/person.rb index 4fa5811c71..7a9666f4eb 100644 --- a/activerecord/test/fixtures/person.rb +++ b/activerecord/test/fixtures/person.rb @@ -1 +1,4 @@ -class Person < ActiveRecord::Base; end +class Person < ActiveRecord::Base + has_many :readers + has_many :posts, :through => :readers +end |