method

class_of_active_record_descendant

class_of_active_record_descendant(klass)
protected

Returns the class descending directly from ActiveRecord::Base or an abstract class, if any, in the inheritance hierarchy.