instance method method_missing

Ruby on Rails 2.3.18

Last seen in v2.3.18 Private — implementation detail, not part of the public API

Available in: v2.2.3 v2.3.18

Signature

method_missing(selector, *args)

No documentation comment.

Parameters

selector req
args rest
Source
# File actionpack/lib/action_view/test_case.rb, line 154
      def method_missing(selector, *args)
        if ActionController::Routing::Routes.named_routes.helpers.include?(selector)
          @controller.__send__(selector, *args)
        else
          super
        end
      end

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

Defined in ActionView::TestCase

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