Sha256: 751c18a256c82e1ce818bf85dc8584b84d393968b1b1eae48fd3dbfd09a960fe

Contents?: true

Size: 667 Bytes

Versions: 253

Compression:

Stored size: 667 Bytes

Contents

<%
  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")

  def debug_hash(object)
    object.to_hash.sort_by { |k, _| k.to_s }.map { |k, v| "#{k}: #{v.inspect rescue $!.message}" }.join("\n")
  end unless self.class.method_defined?(:debug_hash)
%>

Request parameters
<%= request_dump %>

Session dump
<%= debug_hash @request.session %>

Env dump
<%= debug_hash @request.env.slice(*@request.class::ENV_METHODS) %>

Response headers
<%= defined?(@response) ? @response.headers.inspect.gsub(',', ",\n") : 'None' %>

Version data entries

253 entries across 248 versions & 17 rubygems

Version Path
jets-1.8.13 vendor/rails/actionpack/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb
jets-1.8.12 vendor/rails/actionpack/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb
jets-1.8.11 vendor/rails/actionpack/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb
jets-1.8.10 vendor/rails/actionpack/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb
actionpack-6.0.0.rc1 lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb
actionpack-5.2.3 lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb
actionpack-5.1.7 lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb
actionpack-5.1.7.rc1 lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb
actionpack-5.2.3.rc1 lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb
actionpack-6.0.0.beta3 lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb
actionpack-5.2.2.1 lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb
actionpack-5.1.6.2 lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb
actionpack-5.0.7.2 lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb
actionpack-4.2.11.1 lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb
jets-1.8.9 vendor/rails/actionpack/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb
jets-1.8.8 vendor/rails/actionpack/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb
actionpack-6.0.0.beta2 lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb
jets-1.8.7 vendor/rails/actionpack/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb
jets-1.8.6 vendor/rails/actionpack/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb
jets-1.8.5 vendor/rails/actionpack/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb