Flowdock
method

method_missing

Importance_0
Ruby on Rails latest stable (v4.1.8) - 0 notes - Class: Rails::DeprecatedConstant

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.0.9) is shown here.

These similar methods exist in v4.1.8:

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.