Sha256: 03a9cc8c1606b7e3a546682677bdefc2a6aa296b2f6d47412a57f551a1e0ec9e
Contents?: true
Size: 1.27 KB
Versions: 1
Compression:
Stored size: 1.27 KB
Contents
<% unless exception.blamed_files.blank? %> <% if (hide = exception.blamed_files.length > 8) %> <a href="#" onclick="document.getElementById('blame_trace').style.display='block'; return false;">Show blamed files</a> <% end %> <pre id="blame_trace" <%='style="display:none"' if hide %>><code><%=h exception.describe_blame %></code></pre> <% end %> <% clean_params = request.filtered_parameters.clone clean_params.delete("action") clean_params.delete("controller") request_dump = clean_params.empty? ? 'None' : clean_params.inspect.gsub(',', ",\n") %> <h2 style="margin-top: 30px">Request</h2> <p><b>Parameters</b>: <pre><%=h request_dump %></pre></p> <p><a href="#" onclick="document.getElementById('session_dump').style.display='block'; return false;">Show session dump</a></p> <div id="session_dump" style="display:none"><pre><%= debug_hash request.session %></pre></div> <p><a href="#" onclick="document.getElementById('env_dump').style.display='block'; return false;">Show env dump</a></p> <div id="env_dump" style="display:none"><pre><%= debug_hash request.env.slice(*request.class::ENV_METHODS) %></pre></div> <h2 style="margin-top: 30px">Response</h2> <p><b>Headers</b>: <pre><%=h defined?(response) ? response.headers.inspect.gsub(',', ",\n") : 'None' %></pre></p>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
exceptron-0.0.2 | lib/exceptron/views/exceptron/local_exceptions/_request_and_response.erb |