Sha256: 98b64016b9987da0a32c155904348694a374d670b42a70738be47d88df462e5b

Contents?: true

Size: 779 Bytes

Versions: 13

Compression:

Stored size: 779 Bytes

Contents

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

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

<%= render template: "rescues/_source" %>
<%= render template: "rescues/_trace" %>
<%= render template: "rescues/_request_and_response" %>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
actionpack-6.0.6.1 lib/action_dispatch/middleware/templates/rescues/invalid_statement.text.erb
actionpack-6.0.6 lib/action_dispatch/middleware/templates/rescues/invalid_statement.text.erb
actionpack-6.0.5.1 lib/action_dispatch/middleware/templates/rescues/invalid_statement.text.erb
actionpack-6.0.5 lib/action_dispatch/middleware/templates/rescues/invalid_statement.text.erb
actionpack-6.0.4.8 lib/action_dispatch/middleware/templates/rescues/invalid_statement.text.erb
actionpack-6.0.4.7 lib/action_dispatch/middleware/templates/rescues/invalid_statement.text.erb
actionpack-6.0.4.6 lib/action_dispatch/middleware/templates/rescues/invalid_statement.text.erb
actionpack-6.0.4.5 lib/action_dispatch/middleware/templates/rescues/invalid_statement.text.erb
actionpack-6.0.4.4 lib/action_dispatch/middleware/templates/rescues/invalid_statement.text.erb
actionpack-6.0.4.3 lib/action_dispatch/middleware/templates/rescues/invalid_statement.text.erb
actionpack-6.0.4.2 lib/action_dispatch/middleware/templates/rescues/invalid_statement.text.erb
actionpack-6.0.4.1 lib/action_dispatch/middleware/templates/rescues/invalid_statement.text.erb
actionpack-6.0.4 lib/action_dispatch/middleware/templates/rescues/invalid_statement.text.erb