ActiveRecord::Inheritance::ClassMethods

module ActiveRecord::Inheritance::ClassMethods

Attributes

abstract_class[RW]

Set this to true if this is an abstract class (see abstract_class?). If you are using inheritance with ActiveRecord and don't want child classes to utilize the implied STI table name of the parent class, this will need to be true. For example, given the following:

class SuperClass < ActiveRecord::Base
  self.abstract_class = true
end
class Child < SuperClass
  self.t