instance method
render
Ruby on Rails 5.0.7.2
Since v3.2.22.5 Private — implementation detail, not part of the public APISignature
render(status, body, format)
No documentation comment.
Parameters
-
statusreq -
bodyreq -
formatreq
Source
# File actionpack/lib/action_dispatch/middleware/debug_exceptions.rb, line 145
def render(status, body, format)
[status, {'Content-Type' => "#{format}; charset=#{Response.default_charset}", 'Content-Length' => body.bytesize.to_s}, [body]]
end
Defined in actionpack/lib/action_dispatch/middleware/debug_exceptions.rb line 145
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::DebugExceptions