Sha256: 9dbd363311a7c1e49e06dbf7ed7ccc90297f44e6808320e7f5d876ec2284e254

Contents?: true

Size: 688 Bytes

Versions: 159

Compression:

Stored size: 688 Bytes

Contents

<%
  clean_params = params_valid? ? @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

159 entries across 152 versions & 13 rubygems

Version Path
minato_ruby_api_client-0.2.2 vendor/bundle/ruby/3.2.0/gems/actionpack-7.1.3.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb
actionpack-8.0.1 lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb
actionpack-8.0.0.1 lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb
actionpack-7.2.2.1 lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb
actionpack-7.1.5.1 lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb
actionpack-7.0.8.7 lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb
actionpack-8.0.0 lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb
actionpack-7.2.2 lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb
actionpack-7.1.5 lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb
actionpack-8.0.0.rc2 lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb
actionpack-7.2.1.2 lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb
actionpack-7.1.4.2 lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb
actionpack-7.0.8.6 lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb
actionpack-6.1.7.10 lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb
actionpack-8.0.0.rc1 lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb
actionpack-6.1.7.9 lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb
actionpack-7.2.1.1 lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb
actionpack-7.1.4.1 lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb
actionpack-7.0.8.5 lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb
actionpack-8.0.0.beta1 lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb