Sha256: e90404b49fec1ec007c0ed3ecb7939ec695ef24a2918682b213a4106bfb47d79

Contents?: true

Size: 1.03 KB

Versions: 158

Compression:

Stored size: 1.03 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.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"><%= debug(request.session.instance_variable_get("@data")) %></div>


<h2 style="margin-top: 30px">Response</h2>
<p><b>Headers</b>: <pre><%=h response ? response.headers.inspect.gsub(',', ",\n") : 'None' %></pre></p>

Version data entries

158 entries across 158 versions & 19 rubygems

Version Path
actionpack-2.3.18 lib/action_controller/templates/rescues/_request_and_response.erb
actionpack_csi-2.3.5.p8 lib/action_controller/templates/rescues/_request_and_response.erb
actionpack-2.3.17-rack-upgrade-2.3.17 lib/action_controller/templates/rescues/_request_and_response.erb
actionpack-2.3.17 lib/action_controller/templates/rescues/_request_and_response.erb
actionpack_csi-2.3.5.p7 lib/action_controller/templates/rescues/_request_and_response.erb
actionpack_csi-2.3.5.p6 lib/action_controller/templates/rescues/_request_and_response.erb
actionpack-2.3.16 lib/action_controller/templates/rescues/_request_and_response.erb
actionpack-rack-upgrade-2-2.3.16 lib/action_controller/templates/rescues/_request_and_response.erb
actionpack-rack-upgrade-2-2.3.15 lib/action_controller/templates/rescues/_request_and_response.erb
actionpack-2.3.15 lib/action_controller/templates/rescues/_request_and_response.erb
actionpack-rack-upgrade-2.3.16 lib/action_controller/templates/rescues/_request_and_response.erb
actionpack-rack-upgrade-2.3.15 lib/action_controller/templates/rescues/_request_and_response.erb
actionpack-rack-upgrade-2.3.14 lib/action_controller/templates/rescues/_request_and_response.erb
radiant-1.0.0 ruby-debug/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/templates/rescues/_request_and_response.erb
vanity-1.7.1 vendor/ruby/1.9.1/gems/actionpack-2.3.12/lib/action_controller/templates/rescues/_request_and_response.erb
actionpack-2.3.14 lib/action_controller/templates/rescues/_request_and_response.erb
kajam-1.0.3.rc2 vendor/rails/actionpack/lib/action_controller/templates/rescues/_request_and_response.erb
code_buddy-0.1.2 lib/code_buddy/rails2/templates/rescues/_request_and_response.erb
actionpack-2.3.12 lib/action_controller/templates/rescues/_request_and_response.erb
radiant-1.0.0.rc2 vendor/rails/actionpack/lib/action_controller/templates/rescues/_request_and_response.erb