Flowdock
method

method_missing

Importance_0
v3.0.9 - Show latest stable - 0 notes - Class: Rails::DeprecatedConstant
method_missing(meth, *args, &block) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/rails/deprecation.rb, line 25
    def method_missing(meth, *args, &block)
      ::ActiveSupport::Deprecation.warn("#{@old} is deprecated. Please use #{@new}") unless @warned
      @warned = true

      target = @target.call
      if target.respond_to?(meth)
        target.send(meth, *args, &block)
      else
        super
      end
    end
Register or log in to add new notes.