instance method
method_missing
Ruby on Rails 2.3.18
Since v2.2.3 Last seen in v2.3.18Available in: v2.2.3 v2.3.18
Signature
method_missing(selector, *args, &block)
No documentation comment.
Parameters
-
selectorreq -
argsrest -
blockblock
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