From 8ffb22056c2896a67917b813064b2247233d3a08 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Fri, 1 Dec 2006 21:24:47 +0000 Subject: Subclasses of an abstract class work with single-table inheritance. Closes #5704. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5660 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activerecord/test/fixtures/post.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'activerecord/test/fixtures/post.rb') diff --git a/activerecord/test/fixtures/post.rb b/activerecord/test/fixtures/post.rb index 9dc18441d0..44ac3c1053 100644 --- a/activerecord/test/fixtures/post.rb +++ b/activerecord/test/fixtures/post.rb @@ -46,7 +46,7 @@ class Post < ActiveRecord::Base end end -class SpecialPost < Post; end; +class SpecialPost < Post; end class StiPost < Post self.abstract_class = true @@ -54,4 +54,5 @@ class StiPost < Post end class SubStiPost < StiPost + self.table_name = Post.table_name end -- cgit v1.2.3