diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-04-03 17:50:11 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-04-03 17:50:11 +0000 |
commit | f8783abf0cd409d53e7e104b576d45966252378b (patch) | |
tree | 2f8a0e604a7639e0b7983631208a7e7360928be0 /activerecord/test/fixtures/post.rb | |
parent | 46f2b03eacf5dd39c9283697d7d05f0ccb5f4a72 (diff) | |
download | rails-f8783abf0cd409d53e7e104b576d45966252378b.tar.gz rails-f8783abf0cd409d53e7e104b576d45966252378b.tar.bz2 rails-f8783abf0cd409d53e7e104b576d45966252378b.zip |
Made eager loading work even more
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1083 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
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 |