aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/middleware/templates
Commit message (Collapse)AuthorAgeFilesLines
* Try to convert object passed to debug_hash to hashPiotr Sarnacki2012-05-051-2/+2
| | | | | | | | | | SessionStore was recently changed to delegate to hash object instead of inherit from it. Since we don't want to extend SessionStore with every method implemented in Hash, it's better to just convert any object passed to debug_hash (which is also better as we don't require to pass Hash instance there, it can be any object that can be converted to Hash).
* Add backtrace to development routing error pageschneems2012-05-021-1/+3
| | | | | | If a user gets a routing error due to a view helper such as using user_path without an :id they must go to their logs to see the backtrace. By adding in the trace template, a user can see which line the error occurred on without leaving the browser. When a routing error occurs outside of the view the application trace will be blank and will not confuse developers.
* add help text to routing errorschneems2011-12-171-8/+13
| | | | | | When a newcomer hits the routing error page they are often confused about how to trouble shoot the next step. Adding a simple help text can gently remind coders where to get more help.
* CSS fix to prevent error output from being breaking out of body element.Olivier Lacan2011-11-031-0/+1
| | | | | | | | | Using the white-space: pre-wrap adds extra line breaks to prevent the text from breaking out of the element's box. In this case single line output can be extremely long, breaking out the <body> element. See for reference: http://www.quirksmode.org/css/whitespace.html Before: http://link.olivierlacan.com/BVU4 After: http://link.olivierlacan.com/BUfM
* Don't pluralize, camelize.José Valim2011-05-061-1/+1
|
* Only show dump of regular env methods on exception screen (not all the rack ↵David Heinemeier Hansson2011-05-041-1/+1
| | | | crap) [DHH]
* Rescues template HTML5 doctype and the utf8 charset meta tag, and better ↵Matias Korhonen2011-05-031-2/+4
| | | | font choices for Mac users.
* correction to the outputted controller name in the diagnostics error ↵Josh Kalderimis2011-03-241-1/+1
| | | | | | template, test included Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* render :template is faster than render :fileSantiago Pastorino2011-01-012-5/+4
|
* This is not needed anymoreSantiago Pastorino2011-01-011-3/+0
|
* Remove warings from rescues: don't define more than once debug_hash method ↵Emilio Tagua2010-09-281-2/+2
| | | | and ask if @response if defined.
* Remove remaining warnings on _trace by adding parenthesis to gsub arguments.Emilio Tagua2010-09-281-3/+3
|
* Use parenthesis to avoid ambiguous first argument warning.Emilio Tagua2010-09-281-1/+1
|
* Include backtrace in failsafe log. Rescue possible exceptions in failsafe ↵Jeremy Kemper2010-06-041-1/+1
| | | | response.
* Use config.filter_parameters on in-browser request dump. [#4335 state:resolved]José Valim2010-04-071-1/+1
|
* Prettier hash dumpJoshua Peek2010-01-181-3/+7
|
* Show Rack env dump on exception pageJoshua Peek2010-01-181-1/+4
|
* Use backtrace cleaner for dev mode exception pageJoshua Peek2010-01-162-4/+4
|
* Update reference to deprecated constant to avoid warningsBryan Helmkamp2009-11-281-1/+1
|
* 1.9 fix for changes to #to_s. By Sam Ruby. [#3228 state:resolved]Yehuda Katz2009-09-181-2/+2
|
* Extract ActionController rescue templates into Rescue and ShowExceptions ↵Joshua Peek2009-05-028-0/+124
middleware. This commit breaks all exception catching plugins like ExceptionNotifier. These plugins should be rewritten as middleware instead overriding Controller#rescue_action_in_public.