instance method render

Ruby on Rails 3.0.20

Since v3.0.20 Last seen in v3.1.12 Private

Available in: v3.0.20 v3.1.12

Signature

render(status, body)

No documentation comment.

Parameters

status req
body req
Source
# File actionpack/lib/action_dispatch/middleware/show_exceptions.rb, line 117
      def render(status, body)
        [status, {'Content-Type' => 'text/html', 'Content-Length' => body.bytesize.to_s}, [body]]
      end

Defined in actionpack/lib/action_dispatch/middleware/show_exceptions.rb line 117 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionDispatch::ShowExceptions

Type at least 2 characters to search.

↑↓ navigate · open · esc close