class Rails::Railtie
def method_missing(name, *args, &block)
If the class method does not have a method, then send the method call
def method_missing(name, *args, &block) if !abstract_railtie? && instance.respond_to?(name) instance.public_send(name, *args, &block) else super end end