aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures/comment.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-07-03 08:21:22 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-07-03 08:21:22 +0000
commitd9d22c7596118051ba8908c163c797b90cca7aa3 (patch)
treee6cab8dca303f6479aac8e1d6fe5fa010df7a5ed /activerecord/test/fixtures/comment.rb
parent703d18ea520c3def7bc677cef5fd87e2c7c3cd34 (diff)
downloadrails-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/comment.rb')
-rw-r--r--activerecord/test/fixtures/comment.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/activerecord/test/fixtures/comment.rb b/activerecord/test/fixtures/comment.rb
index b59819864d..982cbc6a7a 100644
--- a/activerecord/test/fixtures/comment.rb
+++ b/activerecord/test/fixtures/comment.rb
@@ -2,4 +2,6 @@ class Comment < ActiveRecord::Base
belongs_to :post
end
-class SpecialComment < Comment; end; \ No newline at end of file
+class SpecialComment < Comment; end;
+
+class VerySpecialComment < Comment; end;