instance method method_missing

Ruby on Rails 3.0.20

Since v3.0.20 Last seen in v3.0.20

Signature

method_missing(meth, *args, &block)

No documentation comment.

Parameters

meth req
args rest
block block
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

Defined in railties/lib/rails/deprecation.rb line 25 · View on GitHub · Improve this page · Find usages on GitHub

Defined in Rails::DeprecatedConstant

Type at least 2 characters to search.

↑↓ navigate · open · esc close