instance method
dispatch
Ruby on Rails 3.2.22.5
Since v3.0.20 Last seen in v4.2.9Signature
dispatch(action, request, response = ActionDispatch::Response.new)
No documentation comment.
Parameters
-
actionreq -
requestreq -
responseopt = ActionDispatch::Response.new
Source
# File actionpack/lib/action_controller/metal/rack_delegation.rb, line 11
def dispatch(action, request, response = ActionDispatch::Response.new)
@_response ||= response
@_response.request ||= request
super(action, request)
end
Defined in actionpack/lib/action_controller/metal/rack_delegation.rb line 11
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::RackDelegation