Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Sets the HTTP charset parameter for rescue response. | Matias Korhonen | 2011-05-03 | 1 | -1/+1 |
| | |||||
* | show http method in routing error message | Schneems | 2011-04-23 | 1 | -1/+1 |
| | |||||
* | use raise to create exceptions and to set the backtrace | Aaron Patterson | 2011-01-12 | 1 | -1/+1 |
| | |||||
* | reraising should be in the rescue block | Aaron Patterson | 2011-01-12 | 1 | -1/+1 |
| | |||||
* | Refactor to handle the X-Cascade without having to raise an exception | Krekoten' Marjan | 2011-01-09 | 1 | -12/+12 |
| | |||||
* | Show exceptions rescues the original exception | Les Hill and Sandro Turriate | 2010-10-12 | 1 | -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é Valim | 2010-09-02 | 1 | -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łkowski | 2010-09-02 | 1 | -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é Valim | 2010-08-16 | 1 | -1/+1 |
| | | | | compiling. | ||||
* | Moves local_request? to require.local? | Santiago Pastorino | 2010-08-13 | 1 | -8/+1 |
| | | | | [#5361 state:committed] | ||||
* | Use Rack::Utils.bytesize when calculating content-length of exception pages. ↵ | Tarsoly András | 2010-06-20 | 1 | -1/+1 |
| | | | | | | [#4727 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Ensure show exceptions middleware properly filters backtrace before logging. | José Valim | 2010-06-09 | 1 | -1/+1 |
| | |||||
* | Accept both regexps and strings for LOCALHOST. | José Valim | 2010-06-08 | 1 | -2/+2 |
| | |||||
* | Make sure that rails recognized the full notation of IPv6 loopback address, ↵ | Prem Sichanugrist | 2010-06-08 | 1 | -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 Kemper | 2010-06-04 | 1 | -1/+1 |
| | | | | response. | ||||
* | Use annoted source code in Template:Error to avoid special cases in the show ↵ | José Valim | 2010-05-09 | 1 | -8/+4 |
| | | | | exceptions middleware. | ||||
* | RouteSet does not raise ActionController::RoutingError when no routes match ↵ | Carl Lerche | 2010-04-30 | 1 | -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é Valim | 2010-02-09 | 1 | -14/+0 |
| | |||||
* | Make local_request? to returns true when facing ::1 IPv6 address [#3257 ↵ | Prem Sichanugrist | 2010-01-17 | 1 | -2/+2 |
| | | | | | | status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Add ActionDispatch::Notifications middleware. | José Valim | 2010-01-17 | 1 | -5/+2 |
| | |||||
* | Use backtrace cleaner for dev mode exception page | Joshua Peek | 2010-01-16 | 1 | -3/+18 |
| | |||||
* | @_formats initialization should be AbstractController::Base. | José Valim | 2010-01-04 | 1 | -1/+1 |
| | |||||
* | Add notifications to ActionDispatch::ShowExceptions, this can be used as ↵ | José Valim | 2010-01-03 | 1 | -2/+22 |
| | | | | hooks for plugins like ExceptionNotifier. | ||||
* | All AD modules are "deferrable" | Joshua Peek | 2009-12-22 | 1 | -1/+2 |
| | |||||
* | AD::StatusCodes support is now part of rack | Joshua Peek | 2009-12-22 | 1 | -1/+1 |
| | |||||
* | Use AbstractController error constants | Joshua Peek | 2009-12-16 | 1 | -3/+2 |
| | |||||
* | Reduce usage of interpret_status. It should also return a integer | Joshua Peek | 2009-12-10 | 1 | -3/+1 |
| | | | | not a string. | ||||
* | Reorganize autoloads: | Carlhuda | 2009-12-02 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | * A new module (ActiveSupport::Autoload) is provide that extends autoloading with new behavior. * All autoloads in modules that have extended ActiveSupport::Autoload will be eagerly required in threadsafe environments * Autoloads can optionally leave off the path if the path is the same as full_constant_name.underscore * It is possible to specify that a group of autoloads live under an additional path. For instance, all of ActionDispatch's middlewares are ActionDispatch::MiddlewareName, but they live under "action_dispatch/middlewares/middleware_name" * It is possible to specify that a group of autoloads are all found at the same path. For instance, a number of exceptions might all be declared there. * One consequence of this is that testing-related constants are not autoloaded. To get the testing helpers for a given component, require "component_name/test_case". For instance, "action_controller/test_case". * test_help.rb, which is automatically required by a Rails application's test helper, requires the test_case.rb for all active components, so this change will not be disruptive in existing or new applications. | ||||
* | ActionPack components should no longer have undeclared dependencies. | Yehuda Katz + Carl Lerche | 2009-06-08 | 1 | -0/+2 |
| | | | | | | | * Tests can be run in isolation * Dependencies added * A few tests modified to avoid depending on AS deps not depended on my files they were testing | ||||
* | Make the default 500 Internal Server Error page more friendly. Many people ↵ | Hongli Lai (Phusion) | 2009-05-27 | 1 | -1/+4 |
| | | | | | | don't know they're supposed to look in the log files. [#2716 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Got all the dispatch tests running on new base | Carl Lerche | 2009-05-26 | 1 | -5/+6 |
| | |||||
* | Wrap string body in an array | Jeremy Kemper | 2009-05-20 | 1 | -1/+1 |
| | |||||
* | Merge Failsafe middleware into ShowExceptions | Joshua Peek | 2009-05-17 | 1 | -47/+40 |
| | |||||
* | Merge branch 'master' into wip_abstract_controller | Yehuda Katz + Carl Lerche | 2009-05-11 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | Conflicts: actionpack/lib/action_controller/abstract/callbacks.rb actionpack/lib/action_controller/abstract/renderer.rb actionpack/lib/action_controller/base/base.rb actionpack/lib/action_controller/dispatch/dispatcher.rb actionpack/lib/action_controller/routing/route_set.rb actionpack/lib/action_controller/testing/process.rb actionpack/test/abstract_controller/layouts_test.rb actionpack/test/controller/filters_test.rb actionpack/test/controller/helper_test.rb actionpack/test/controller/render_test.rb actionpack/test/new_base/test_helper.rb | ||||
* | Extract ActionController rescue templates into Rescue and ShowExceptions ↵ | Joshua Peek | 2009-05-02 | 1 | -0/+142 |
middleware. This commit breaks all exception catching plugins like ExceptionNotifier. These plugins should be rewritten as middleware instead overriding Controller#rescue_action_in_public. |