diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-07-03 08:21:22 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-07-03 08:21:22 +0000 |
commit | d9d22c7596118051ba8908c163c797b90cca7aa3 (patch) | |
tree | e6cab8dca303f6479aac8e1d6fe5fa010df7a5ed /activerecord/test/fixtures/posts.yml | |
parent | 703d18ea520c3def7bc677cef5fd87e2c7c3cd34 (diff) | |
download | rails-d9d22c7596118051ba8908c163c797b90cca7aa3.tar.gz rails-d9d22c7596118051ba8908c163c797b90cca7aa3.tar.bz2 rails-d9d22c7596118051ba8908c163c797b90cca7aa3.zip |
Fixed that single-table inheritance sub-classes couldn't be used to limit the result set with eager loading #1215 [Chris McGrath]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1619 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test/fixtures/posts.yml')
-rw-r--r-- | activerecord/test/fixtures/posts.yml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/activerecord/test/fixtures/posts.yml b/activerecord/test/fixtures/posts.yml index decd14b70e..190993dcdd 100644 --- a/activerecord/test/fixtures/posts.yml +++ b/activerecord/test/fixtures/posts.yml @@ -18,3 +18,24 @@ authorless: title: I don't have any comments body: I just don't want to type: Post + +sti_comments: + id: 4 + author_id: 1 + title: sti comments + body: hello + type: Post + +sti_post_and_comments: + id: 5 + author_id: 1 + title: sti me + body: hello + type: StiPost + +sti_habtm: + id: 6 + author_id: 1 + title: habtm sti test + body: hello + type: Post |