Sha256: 78da0f0efcc7d6f868227f687fb27ce353249dca190da76056435b285aeaeda7

Contents?: true

Size: 1.03 KB

Versions: 79

Compression:

Stored size: 1.03 KB

Contents

<header role="banner">
  <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>

<main role="main" 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" %>
</main>

Version data entries

79 entries across 76 versions & 7 rubygems

Version Path
omg-actionpack-8.0.0.alpha7 lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb
omg-actionpack-8.0.0.alpha4 lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb
omg-actionpack-8.0.0.alpha3 lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb
omg-actionpack-8.0.0.alpha2 lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb
omg-actionpack-8.0.0.alpha1 lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb
actionpack-7.1.4 lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb
actionpack-7.2.1 lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb
actionpack-7.2.0 lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb
actionpack-7.2.0.rc1 lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/actionpack-7.0.8.4/lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/actionpack-7.1.3.4/lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb
actionpack-7.2.0.beta3 lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb
cm-admin-1.5.22 vendor/bundle/ruby/3.3.0/gems/actionpack-7.0.5.1/lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb
cm-admin-1.5.21 vendor/bundle/ruby/3.3.0/gems/actionpack-7.0.5.1/lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb
cm-admin-1.5.20 vendor/bundle/ruby/3.3.0/gems/actionpack-7.0.5.1/lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb
tinymce-rails-7.1.2 vendor/bundle/ruby/3.3.0/gems/actionpack-7.1.3.4/lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb
actionpack-7.2.0.beta2 lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb
actionpack-7.1.3.4 lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb
actionpack-7.0.8.4 lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb
actionpack-7.2.0.beta1 lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb