module ActiveSupport::DescendantsTracker
def store_inherited(klass, descendant)
This is the only method that is not thread safe, but is only ever called
def store_inherited(klass, descendant) (@@direct_descendants[klass] ||= []) << descendant end
def store_inherited(klass, descendant) (@@direct_descendants[klass] ||= []) << descendant end