Sha256: e2f33f9fcbbf55688d4d88dd37337f8863f59045ea7095b2b295f840e55bf6ba

Contents?: true

Size: 1.68 KB

Versions: 22

Compression:

Stored size: 1.68 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 %>

<% if false %>
  <br /><br />
  <% begin %>
    <%= form_tag(request.request_uri, "method" => request.method) %>
      <input type="hidden" name="BP-RETRY" value="1" />
  
      <% for key, values in params %>
        <% next if key == "BP-RETRY" %>
        <% for value in Array(values) %>
          <input type="hidden" name="<%= key %>" value="<%= value %>" />
        <% end %>
      <% end %>

      <input type="submit" value="Retry with Breakpoint" />
    </form>
  <% rescue Exception => e %>
    <%=h "Couldn't render breakpoint link due to #{e.class} #{e.message}" %>
  <% end %>
<% end %>

<%
  request_parameters_without_action = request.parameters.clone
  request_parameters_without_action.delete("action")
  request_parameters_without_action.delete("controller")
  
  request_dump  = request_parameters_without_action.inspect.gsub(/,/, ",\n")
%>

<h2 style="margin-top: 30px">Request</h2>
<p><b>Parameters</b>: <%=h request_dump == "{}" ? "None" : request_dump %></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>
<b>Headers</b>: <%=h response ? response.headers.inspect.gsub(/,/, ",\n") : "None" %><br/>

Version data entries

22 entries across 22 versions & 4 rubygems

Version Path
jstorimer-deep-test-2.0.0 sample_rails_project/vendor/rails/actionpack/lib/action_controller/templates/rescues/_request_and_response.rhtml
jstorimer-deep-test-1.4.0 sample_rails_project/vendor/rails/actionpack/lib/action_controller/templates/rescues/_request_and_response.rhtml
jstorimer-deep-test-1.3.0 sample_rails_project/vendor/rails/actionpack/lib/action_controller/templates/rescues/_request_and_response.rhtml
jstorimer-deep-test-1.2.0 sample_rails_project/vendor/rails/actionpack/lib/action_controller/templates/rescues/_request_and_response.rhtml
jstorimer-deep-test-1.1.0 sample_rails_project/vendor/rails/actionpack/lib/action_controller/templates/rescues/_request_and_response.rhtml
jstorimer-deep-test-1.0.0 sample_rails_project/vendor/rails/actionpack/lib/action_controller/templates/rescues/_request_and_response.rhtml
jstorimer-deep-test-0.2.0 sample_rails_project/vendor/rails/actionpack/lib/action_controller/templates/rescues/_request_and_response.rhtml
jstorimer-deep-test-0.1.0 sample_rails_project/vendor/rails/actionpack/lib/action_controller/templates/rescues/_request_and_response.rhtml
actionpack-1.13.0 lib/action_controller/templates/rescues/_request_and_response.rhtml
actionpack-1.13.1 lib/action_controller/templates/rescues/_request_and_response.rhtml
actionpack-1.13.6 lib/action_controller/templates/rescues/_request_and_response.rhtml
actionpack-1.13.4 lib/action_controller/templates/rescues/_request_and_response.rhtml
actionpack-1.13.3 lib/action_controller/templates/rescues/_request_and_response.rhtml
actionpack-1.13.2 lib/action_controller/templates/rescues/_request_and_response.rhtml
actionpack-1.13.5 lib/action_controller/templates/rescues/_request_and_response.rhtml
radiant-0.6.0 vendor/rails/actionpack/lib/action_controller/templates/rescues/_request_and_response.rhtml
radiant-0.6.1 vendor/rails/actionpack/lib/action_controller/templates/rescues/_request_and_response.rhtml
radiant-0.6.2 vendor/rails/actionpack/lib/action_controller/templates/rescues/_request_and_response.rhtml
radiant-0.6.3 vendor/rails/actionpack/lib/action_controller/templates/rescues/_request_and_response.rhtml
radiant-0.6.4 vendor/rails/actionpack/lib/action_controller/templates/rescues/_request_and_response.rhtml