config/initializers/general.rb
# Instantiates a class and adds in any class_mixins that have been registered for it.
Instantiates a class and adds in any class_mixins that have been registered for it.
Instantiates a class and adds in any class_mixins that have been registered for it .
def inherited_with_mixins(klass)
    returning inherited_without_mixins(klass) do |value|
      klass.auto_include!
    end
  end
def inherited_with_mixins ( klass ) returning inherited_without_mixins ( klass ) do | value | klass . auto_include! end end
Instantiates a class and adds in any class_mixins that have been registered for it.
Instantiates a class and adds in any class_mixins that have been registered for it .
klass