diff options
Diffstat (limited to 'activerecord/test/fixtures/post.rb')
-rw-r--r-- | activerecord/test/fixtures/post.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/activerecord/test/fixtures/post.rb b/activerecord/test/fixtures/post.rb index 4c2ccb3f43..7c1f8e1961 100644 --- a/activerecord/test/fixtures/post.rb +++ b/activerecord/test/fixtures/post.rb @@ -28,6 +28,9 @@ class Post < ActiveRecord::Base has_many :categorizations, :foreign_key => :category_id has_many :authors, :through => :categorizations + has_many :readers + has_many :people, :through => :readers + def self.what_are_you 'a post...' end |