From ed847ad4e6e1b418808a2bfe6d0647d7b9a497a9 Mon Sep 17 00:00:00 2001 From: Xavier Noria Date: Thu, 15 Jan 2009 01:01:59 +0100 Subject: revised rdoc of class_of_active_record_descendant --- activerecord/lib/active_record/base.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb index 938dd2a9b1..ebc0b7783f 100755 --- a/activerecord/lib/active_record/base.rb +++ b/activerecord/lib/active_record/base.rb @@ -2180,7 +2180,8 @@ module ActiveRecord #:nodoc: end end - # Returns the class descending directly from Active Record in the inheritance hierarchy. + # Returns the class descending directly from ActiveRecord::Base or an + # abstract class, if any, in the inheritance hierarchy. def class_of_active_record_descendant(klass) if klass.superclass == Base || klass.superclass.abstract_class? klass -- cgit v1.2.3