instance method method_missing

Ruby on Rails 2.3.18

Last seen in v2.3.18

Available in: v2.2.3 v2.3.18

Signature

method_missing(selector, *args, &block)

No documentation comment.

Parameters

selector req
args rest
block block
Source
# File actionpack/lib/action_controller/test_process.rb, line 507
    def method_missing(selector, *args, &block)
      if @controller && ActionController::Routing::Routes.named_routes.helpers.include?(selector)
        @controller.send(selector, *args, &block)
      else
        super
      end
    end

Defined in actionpack/lib/action_controller/test_process.rb line 507 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionController::TestProcess

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close