railties/lib/rails/railtie.rb
# If the class method does not have a method, then send the method call
# to the Railtie instance.
If the class method does not have a method, then send the method call
to the Railtie instance.
If the class method does not have a method then send the method call to the Railtie instance .
def method_missing(name, *args, &block)
          if instance.respond_to?(name)
            instance.public_send(name, *args, &block)
          else
            super
          end
        end
def method_missing ( name , * args , & block ) if instance . respond_to? ( name ) instance . public_send ( name , * args , & block ) else super end end
If the class method does not have a method, then send the method call
to the Railtie instance.
If the class method does not have a method then send the method call to the Railtie instance .
name
<not_specific>
args
<not_specific>
block
<not_specific>