From d9d22c7596118051ba8908c163c797b90cca7aa3 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sun, 3 Jul 2005 08:21:22 +0000 Subject: 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 --- activerecord/test/fixtures/posts.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'activerecord/test/fixtures/posts.yml') 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 -- cgit v1.2.3