diff options
Diffstat (limited to 'activerecord/test/fixtures/post.rb')
-rw-r--r-- | activerecord/test/fixtures/post.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/fixtures/post.rb b/activerecord/test/fixtures/post.rb index 1fd78b8343..a09e192c04 100644 --- a/activerecord/test/fixtures/post.rb +++ b/activerecord/test/fixtures/post.rb @@ -1,4 +1,4 @@ class Post < ActiveRecord::Base - has_many :comments - has_one :author + belongs_to :author + has_many :comments end
\ No newline at end of file |