instance method method_missing

Ruby on Rails edge

Since edge Private — implementation detail, not part of the public API

Signature

method_missing(selector, ...)

No documentation comment.

Parameters

selector req
... req
block block
Source
# File actionpack/lib/action_controller/test_case.rb, line 615
        def method_missing(selector, ...)
          if defined?(@controller) && @controller && defined?(@routes) && @routes && @routes.named_routes.route_defined?(selector)
            @controller.public_send(selector, ...)
          else
            super
          end
        end

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

Defined in ActionController::TestCase::Behavior

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