diff options
author | Xavier Noria <fxn@hashref.com> | 2009-01-15 01:01:59 +0100 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2009-01-15 01:01:59 +0100 |
commit | ed847ad4e6e1b418808a2bfe6d0647d7b9a497a9 (patch) | |
tree | 01dc6cc13e6475a5025002d0800248532394d2be /activerecord/lib | |
parent | deb597d63db0c903ce0ff70ab53abed60f95192a (diff) | |
download | rails-ed847ad4e6e1b418808a2bfe6d0647d7b9a497a9.tar.gz rails-ed847ad4e6e1b418808a2bfe6d0647d7b9a497a9.tar.bz2 rails-ed847ad4e6e1b418808a2bfe6d0647d7b9a497a9.zip |
revised rdoc of class_of_active_record_descendant
Diffstat (limited to 'activerecord/lib')
-rwxr-xr-x | activerecord/lib/active_record/base.rb | 3 |
1 files changed, 2 insertions, 1 deletions
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 |