diff options
Diffstat (limited to 'activerecord/test/models/person.rb')
-rw-r--r-- | activerecord/test/models/person.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/activerecord/test/models/person.rb b/activerecord/test/models/person.rb new file mode 100644 index 0000000000..7a9666f4eb --- /dev/null +++ b/activerecord/test/models/person.rb @@ -0,0 +1,4 @@ +class Person < ActiveRecord::Base + has_many :readers + has_many :posts, :through => :readers +end |