Sha256: 29b7a07d41bb14d04df47209a45ea16bd0d641f6d1d3427cc1264e03a7737324

Contents?: true

Size: 1021 Bytes

Versions: 44

Compression:

Stored size: 1021 Bytes

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: rails active_storage:install
    <% end %>
    <% if defined?(ActionMailbox) && @exception.message.match?(%r{#{ActionMailbox::InboundEmail.table_name}}) %>
      <br />To resolve this issue run: 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

44 entries across 42 versions & 5 rubygems

Version Path
actionpack-6.0.6.1 lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb
actionpack-6.0.6 lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb
actionpack-6.0.5.1 lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb
actionpack-6.0.5 lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb
actionpack-6.0.4.8 lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb
actionpack-6.0.4.7 lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb
actionpack-6.0.4.6 lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb
actionpack-6.0.4.5 lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb
actionpack-6.0.4.4 lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb
actionpack-6.0.4.3 lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb
actionpack-6.0.4.2 lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb
actionpack-6.0.4.1 lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb
actionpack-6.0.4 lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb
actionpack-6.0.3.7 lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb
actionpack-6.0.3.6 lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb
actionpack-6.0.3.5 lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb
actionpack-6.0.3.4 lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb
actionpack-6.0.3.3 lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb
actionpack-6.0.3.2 lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb
actionpack-6.0.3.1 lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb