ri > ActionDispatch::PublicExceptions

= ActionDispatch::PublicExceptions < Object

(from /home/chedong/.local/share/rdoc)
------------------------------------------------------------------------
When called, this middleware renders an error page. By default if an
HTML response is expected it will render static error pages from the
/public directory. For example when this middleware receives a 500
response it will render the template found in /public/500.html. If an
internationalized locale is set, this middleware will attempt to render
the template in /public/500.<locale>.html. If an internationalized
template is not found it will fall back on /public/500.html.

When a request with a content type other than HTML is made, this
middleware will attempt to convert error information into the
appropriate response type.
------------------------------------------------------------------------
= Class methods:

  new

= Instance methods:

  call
  public_path

= Attributes:

  attr_accessor public_path

Generated by phpman v4.9.26-1-g511901d · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-27 16:40 @216.73.216.194
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!