instance method
render
Ruby on Rails 4.0.13
Since v3.2.22.5 PrivateSignature
render(status, body)
No documentation comment.
Parameters
-
statusreq -
bodyreq
Source
# File actionpack/lib/action_dispatch/middleware/debug_exceptions.rb, line 56
def render(status, body)
[status, {'Content-Type' => "text/html; charset=#{Response.default_charset}", 'Content-Length' => body.bytesize.to_s}, [body]]
end
Defined in actionpack/lib/action_dispatch/middleware/debug_exceptions.rb line 56
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::DebugExceptions