Sha256: 2354239003cfe2b13f57d38fd67d42b6990b2a50ca0d5dfa3ceb7428e2ef6cba

Contents?: true

Size: 1 KB

Versions: 37

Compression:

Stored size: 1 KB

Contents

<header>
  <h1>
    <%= @exception.class.to_s %>
    <% if @request.parameters['controller'] %>
      in <%= @request.parameters['controller'].camelize %>Controller<% if @request.parameters['action'] %>#<%= @request.parameters['action'] %><% end %>
    <% end %>
  </h1>
</header>

<div id="container">
  <h2>
    <%= h @exception.message %>
    <% if defined?(ActiveStorage) && @exception.message.match?(%r{#{ActiveStorage::Blob.table_name}|#{ActiveStorage::Attachment.table_name}}) %>
      <br />To resolve this issue run: bin/rails active_storage:install
    <% end %>
    <% if defined?(ActionMailbox) && @exception.message.match?(%r{#{ActionMailbox::InboundEmail.table_name}}) %>
      <br />To resolve this issue run: bin/rails action_mailbox:install
    <% end %>
  </h2>

  <%= render "rescues/source", source_extracts: @source_extracts, show_source_idx: @show_source_idx %>
  <%= render "rescues/trace", traces: @traces, trace_to_show: @trace_to_show %>
  <%= render template: "rescues/_request_and_response" %>
</div>

Version data entries

37 entries across 37 versions & 4 rubygems

Version Path
actionpack-6.1.7.10 lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb
actionpack-6.1.7.9 lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb
actionpack-6.1.7.8 lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb
actionpack-6.1.7.7 lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/actionpack-6.1.6.1/lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb
actionpack-6.1.7.6 lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb
actionpack-6.1.7.5 lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb
actionpack-6.1.7.4 lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/actionpack-6.1.6.1/lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb
actionpack-6.1.7.3 lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb
actionpack-6.1.7.2 lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb
actionpack-6.1.7.1 lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb
actionpack-6.1.7 lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb
actionpack-6.1.6.1 lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb
actionpack-6.1.6 lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb
actionpack-6.1.5.1 lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb
actionpack-6.1.5 lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb
actionpack-6.1.4.7 lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb
actionpack-6.1.4.6 lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb
actionpack-6.1.4.5 lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb