aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/middleware/show_exceptions.rb
Commit message (Collapse)AuthorAgeFilesLines
* Reduce number of Strings a bitAkira Matsuda2013-01-071-3/+3
|
* Add ensure block to make sure the state is properly restoredCarlos Antonio da Silva2012-11-041-1/+1
|
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-10-111-1/+1
|\ | | | | | | | | | | Conflicts: activerecord/lib/active_record/persistence.rb railties/lib/rails/generators/rails/resource_route/resource_route_generator.rb
| * Space between "every" and "time"schneems2012-10-021-1/+1
| |
* | Failsafe exception returns text/plain.Steve Klabnik2012-10-011-3/+3
|/ | | | | | | It's best to just return text/plain when something has gone terribly wrong. Fixes #5660.
* Whitespaces :scissors:Rafael Mendonça França2012-03-171-1/+1
|
* remove status_code from AD::ShowExceptions and useless requiresSergey Nartimov2011-12-211-6/+0
|
* Remove deprecation warnings from Action Pack.José Valim2011-12-201-25/+1
|
* ShowExceptions should understand X-Cascade responses from exceptions app.José Valim2011-12-161-4/+15
|
* Improve the specs on exceptions app.José Valim2011-12-161-1/+6
|
* Extract the rendering of public exceptions pages into a Rack app.José Valim2011-12-161-33/+18
|
* Fix failing cascade exception.José Valim2011-12-031-1/+1
|
* Try to play nice with plugins doing monkey patches.José Valim2011-12-021-0/+5
|
* Split and improve show and debug exceptions middlewares.José Valim2011-12-011-11/+11
|
* Split ShowExceptions responsibilities in two middlewares.José Valim2011-12-011-82/+28
|
* Add a deprecation to old show exceptions API (even though it was not public).José Valim2011-12-011-0/+14
|
* Add an ExceptionWrapper that wraps an exception and provide convenience helpers.José Valim2011-12-011-74/+23
|
* Allow rescue responses to be configured through a railtie.José Valim2011-12-011-8/+4
|
* put backtrace_cleaner to envlest2011-11-281-13/+13
|
* middlewares should use logger from envlest2011-11-251-6/+10
|
* deprecation warning, changelog entrylest2011-11-221-1/+3
|
* add ActionController::Metal#show_detailed_exceptions?lest2011-11-221-9/+7
|
* Deprecate passing the template handler in the template name.José Valim2011-09-221-2/+2
| | | | | | For example, calling hello.erb is now deprecated. Since Rails 3.0 passing the handler had no effect whatsover. This commit simply deprecates such cases so we can clean up the code in later releases.
* TODO fix explicitly loading exceptations, autoload removedVishnu Atrai2011-07-111-0/+1
|
* Sets the HTTP charset parameter for rescue response.Matias Korhonen2011-05-031-1/+1
|
* show http method in routing error messageSchneems2011-04-231-1/+1
|
* use raise to create exceptions and to set the backtraceAaron Patterson2011-01-121-1/+1
|
* reraising should be in the rescue blockAaron Patterson2011-01-121-1/+1
|
* Refactor to handle the X-Cascade without having to raise an exceptionKrekoten' Marjan2011-01-091-12/+12
|
* Show exceptions rescues the original exceptionLes Hill and Sandro Turriate2010-10-121-0/+13
| | | | | | [#5784 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Revert "Setup explicit requires for files with exceptions. Removed them from ↵José Valim2010-09-021-1/+0
| | | | | | | | autoloading." Booting a new Rails application does not work after this commit [#5359 state:open] This reverts commit 38a421b34d0b414564e919f67d339fac067a56e6.
* Setup explicit requires for files with exceptions. Removed them from ↵Łukasz Strzałkowski2010-09-021-0/+1
| | | | | | autoloading. Signed-off-by: José Valim <jose.valim@gmail.com>
* annoted_source_code may return nil if an error happens during template ↵José Valim2010-08-161-1/+1
| | | | compiling.
* Moves local_request? to require.local?Santiago Pastorino2010-08-131-8/+1
| | | | [#5361 state:committed]
* Use Rack::Utils.bytesize when calculating content-length of exception pages. ↵Tarsoly András2010-06-201-1/+1
| | | | | | [#4727 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Ensure show exceptions middleware properly filters backtrace before logging.José Valim2010-06-091-1/+1
|
* Accept both regexps and strings for LOCALHOST.José Valim2010-06-081-2/+2
|
* Make sure that rails recognized the full notation of IPv6 loopback address, ↵Prem Sichanugrist2010-06-081-2/+2
| | | | | | and recognize 127.0.0.0/8 in IPv4 Signed-off-by: José Valim <jose.valim@gmail.com>
* Include backtrace in failsafe log. Rescue possible exceptions in failsafe ↵Jeremy Kemper2010-06-041-1/+1
| | | | response.
* Use annoted source code in Template:Error to avoid special cases in the show ↵José Valim2010-05-091-8/+4
| | | | exceptions middleware.
* RouteSet does not raise ActionController::RoutingError when no routes match ↵Carl Lerche2010-04-301-1/+11
| | | | anymore. Instead, it follows the X-Cascade convention. ShowExceptions checks for X-Cascade so that the routing error page can still be displayed.
* Remove outdated docs.José Valim2010-02-091-14/+0
|
* Make local_request? to returns true when facing ::1 IPv6 address [#3257 ↵Prem Sichanugrist2010-01-171-2/+2
| | | | | | status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Add ActionDispatch::Notifications middleware.José Valim2010-01-171-5/+2
|
* Use backtrace cleaner for dev mode exception pageJoshua Peek2010-01-161-3/+18
|
* @_formats initialization should be AbstractController::Base.José Valim2010-01-041-1/+1
|
* Add notifications to ActionDispatch::ShowExceptions, this can be used as ↵José Valim2010-01-031-2/+22
| | | | hooks for plugins like ExceptionNotifier.
* All AD modules are "deferrable"Joshua Peek2009-12-221-1/+2
|
* AD::StatusCodes support is now part of rackJoshua Peek2009-12-221-1/+1
|
* Use AbstractController error constantsJoshua Peek2009-12-161-3/+2
|