aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures
diff options
context:
space:
mode:
authorRick Olson <technoweenie@gmail.com>2006-03-16 02:46:01 +0000
committerRick Olson <technoweenie@gmail.com>2006-03-16 02:46:01 +0000
commitdef746030c20697f2c4376515169eeda2f6332b4 (patch)
tree1569968114c0c728011b450ff10ac278914f60e8 /activerecord/test/fixtures
parent0859779d6f1cadfec12f1112c80382658466ab7d (diff)
downloadrails-def746030c20697f2c4376515169eeda2f6332b4.tar.gz
rails-def746030c20697f2c4376515169eeda2f6332b4.tar.bz2
rails-def746030c20697f2c4376515169eeda2f6332b4.zip
Added Base.abstract_class? that marks which classes are not part of the Active Record hierarchy. closes #3704
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3882 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test/fixtures')
-rw-r--r--activerecord/test/fixtures/post.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/activerecord/test/fixtures/post.rb b/activerecord/test/fixtures/post.rb
index e5b95aff32..a00fd80671 100644
--- a/activerecord/test/fixtures/post.rb
+++ b/activerecord/test/fixtures/post.rb
@@ -39,5 +39,9 @@ end
class SpecialPost < Post; end;
class StiPost < Post
+ self.abstract_class = true
has_one :special_comment, :class_name => "SpecialComment"
end
+
+class SubStiPost < StiPost
+end