Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refactor debug view | Kir Shatrov | 2014-12-02 | 1 | -21/+2 |
| | | | Avoid logic in ERB and use helpers | ||||
* | Pretty-print request params on exception page | Kir Shatrov | 2014-12-01 | 1 | -1/+8 |
| | |||||
* | Don't center the routes table on routing errors | Genadi Samokovarov | 2014-11-24 | 1 | -1/+1 |
| | |||||
* | Show source view and backtrace on missing template errors | Genadi Samokovarov | 2014-11-24 | 2 | -0/+6 |
| | | | | | | | | | This will help you debug missing template errors, especially if they come from a programmatic template selection. Thanks to @dhh for suggesting that. As a bonus, also show request and response info on the routing error page for consistency. | ||||
* | Rename #source_extract to #source_extracts in ExceptionWrapper | Genadi Samokovarov | 2014-11-16 | 1 | -5/+5 |
| | | | | | It returns multiple source extracts since 1ed264bc. Also cleaned its result structure, as we no longer need the file in a code extract. | ||||
* | Don't let #{application,framework,full}_trace be nil | Genadi Samokovarov | 2014-11-16 | 1 | -20/+18 |
| | | | | | | Those three can be nil when exception backtrace is nil. This happens and that forced a couple of nil guards in the code. I'm proposing to make those always return an array, even on nil backtrace. | ||||
* | Show the user’s application in the source window and select the correct ↵ | Byron Bischoff | 2014-10-23 | 2 | -2/+2 |
| | | | | trace list, closes #17312 | ||||
* | Use Hash#each_key instead of Hash#keys.each | Erik Michaels-Ober | 2014-09-29 | 1 | -1/+1 |
| | | | | | | Hash#keys.each allocates an array of keys; Hash#each_key iterates through the keys without allocating a new array. This is the reason why Hash#each_key exists. | ||||
* | this should be accessing the hash, not calling a method | Aaron Patterson | 2014-08-13 | 1 | -1/+1 |
| | |||||
* | Retrieve source code for the entire stack trace | Ryan Dao | 2014-08-08 | 6 | -59/+67 |
| | | | | | | Provide the ability to extract the source code of the entire exception stack trace, not just the frame raising the error. This improves debugging capability of the error page, especially for framework-related errors. | ||||
* | Escape user input before showing in the page. | Rafael Mendonça França | 2014-05-26 | 1 | -2/+2 |
| | | | | | | This is not a security issue since this page is not present in production and user have to type something in the field but is better to escape the input. | ||||
* | Display diagnostics in text format for xhr request | Vlad Bokov | 2014-04-14 | 2 | -0/+9 |
| | |||||
* | Split search results into 'exact matches' and 'fuzzy matches'. | Winston | 2014-04-11 | 1 | -60/+96 |
| | | | | - also refactored the javascript. | ||||
* | Improve CSS styling for routing error html page. | Winston | 2014-04-11 | 1 | -7/+25 |
| | |||||
* | Implement fuzzy matching for route search on routing error html page. | Winston | 2014-04-11 | 1 | -8/+10 |
| | |||||
* | Spelling and Grammar checks | Akshay Vishnoi | 2013-12-12 | 1 | -2/+2 |
| | |||||
* | Display exceptions in text format for xhr request | Kir Shatrov | 2013-08-22 | 12 | -0/+63 |
| | |||||
* | Escape the message of an exception in debug_exceptions to avoid bad rendering | Adrien Siami | 2013-08-21 | 5 | -5/+5 |
| | |||||
* | Add styling to h1 | Tim Krajcar | 2013-05-02 | 1 | -0/+6 |
| | |||||
* | Use camelize instead of capitalize on error screen | Nikolay Shebanov | 2013-04-10 | 1 | -1/+1 |
| | |||||
* | change array of array to hash | Vipul A M | 2013-04-09 | 1 | -6/+4 |
| | |||||
* | Mark unused variables and make some style fixes | Agis Anastasopoulos | 2013-04-08 | 1 | -1/+1 |
| | | | | It'd be a nice convention to mark the unused variables like this, now that Ruby 2 will issue no warnings for such vars being unused. | ||||
* | Change useless tr to gsub | robertomiranda | 2013-03-06 | 1 | -2/+2 |
| | |||||
* | change useless gsub to tr | robertomiranda | 2013-03-05 | 2 | -3/+3 |
| | |||||
* | Return false on toggle on error pages | Bartlomiej Kozal | 2013-02-17 | 2 | -6/+7 |
| | |||||
* | In Browser Path Matching with Javascript | schneems | 2013-01-20 | 2 | -11/+99 |
| | | | | | | | | | | | When debugging routes ,it can sometimes be difficult to understand exactly how the paths are matched. This PR adds a JS based path matching widget to the `/rails/info/routes` output. You can enter in a path, and it will tell you which of the routes that path matches, while preserving order (top match wins). The matching widget in action: ![](http://f.cl.ly/items/3A2F0v2m3m1Z1p3P3O3k/path-match.gif) Prior to this PR the only way to check matching paths is via mental math, or typing in a path in the url bar and seeing where it goes. This feature will be an invaluable debugging tool by dramatically decreasing the time needed to check a path match. ATP actionpack | ||||
* | Rename route_wrapper partial layout to table | Carlos Antonio da Silva | 2013-01-06 | 1 | -0/+0 |
| | | | | | | It is used by the table formatter only, and it's already inside a routes directory that namespaces it properly, so calling it just "table" seems simpler. | ||||
* | Move table routes formatter class to the inspector and rename it | Carlos Antonio da Silva | 2013-01-06 | 1 | -1/+1 |
| | | | | | | | It feels more consistent to have this class called "HtmlTableFormatter", and to have it here with the routes inspector and console formatter, since it's used for both routing error exceptions and the rails info page. | ||||
* | Close container div tag in routing error page | Carlos Antonio da Silva | 2013-01-05 | 1 | -9/+11 |
| | |||||
* | Move style to head to make routes page valid html5 | Carlos Antonio da Silva | 2013-01-05 | 2 | -4/+6 |
| | |||||
* | display mountable engine routes on RoutingError. | Yves Senn | 2013-01-05 | 1 | -2/+2 |
| | |||||
* | Remove unnecessary `ERB::Util::h` | Ryunosuke SATO | 2013-01-05 | 7 | -17/+17 |
| | | | | It is automatically applied when strings is unsafe for html. | ||||
* | move error page js into script tag | Gosha Arinich | 2013-01-04 | 3 | -5/+27 |
| | |||||
* | fix env toggling, improve error page styling | Gosha Arinich | 2013-01-03 | 2 | -12/+10 |
| | |||||
* | Fixing closing </p> | Guillermo Iguaran | 2013-01-02 | 1 | -1/+1 |
| | |||||
* | Fix a number of validation/style errors: | Sam Ruby | 2013-01-02 | 2 | -8/+7 |
| | | | | | | | | | | * <pre> is not allowed to be nested inside of <p> elements in HTML * Indentation of </p> doesn't match corresponding <p> * <p> element not explicitly closed * One more </div> than <div> In each case, the template was fixed to match how a HTML5 parser would "see" the resulting page. | ||||
* | Merge pull request #8688 from goshakkk/error-page-toggle | Guillermo Iguaran | 2013-01-02 | 1 | -3/+3 |
|\ | | | | | Allow toggling dumps on error page | ||||
| * | allow toggling dumps instead of just showing | Gosha Arinich | 2013-01-02 | 1 | -3/+3 |
| | | |||||
* | | Cleanup some unnecessary CSS on the new error page and reformat some lines. | Lucas Mazza | 2013-01-02 | 1 | -12/+13 |
| | | |||||
* | | add source line padding | Gosha Arinich | 2013-01-02 | 1 | -0/+4 |
|/ | |||||
* | Fix indent in UnknownAction template | Guillermo Iguaran | 2013-01-01 | 1 | -1/+1 |
| | |||||
* | Summary and Details HTML elements aren't supported in all modern browsers | Guillermo Iguaran | 2012-12-31 | 2 | -12/+12 |
| | |||||
* | Add style to AV::Template::Error exception page | Guillermo Iguaran | 2012-12-31 | 1 | -13/+40 |
| | |||||
* | Improve line-height to have better line spacing in exception message | Guillermo Iguaran | 2012-12-31 | 1 | -0/+1 |
| | |||||
* | Add new style to Routing Error page | Guillermo Iguaran | 2012-12-31 | 1 | -19/+22 |
| | |||||
* | Styling for exception page | Guillermo Iguaran | 2012-12-31 | 6 | -29/+150 |
| | |||||
* | Add source extract to detailed exception page | Guillermo Iguaran | 2012-12-31 | 2 | -0/+9 |
| | |||||
* | Minor js review [ci skip] | Carlos Antonio da Silva | 2012-12-18 | 1 | -7/+7 |
| | | | | Remove/add ; where necessary, fix indentation. | ||||
* | Format routes as html on debug page | schneems | 2012-12-17 | 3 | -1/+75 |
| | | | | | | | | | When someone gets a routing exception, the routes are rendered (starting in Rails 4.0). This PR brings parity between the html routes in the `rails/info/routes` path and when rendered from an exception. This is the continuation of #8521 which brought html formatted routes. In addition to bringing parity to the two views, we're keeping our views DRY by rendering off of the same partials. In this case Railties depends on partials provided by ActionDispatch. I'm open to alternative implementations. Ideally both views will use the same code so any improvements or updates to it will be reproduced on both. <hr /> ![](http://f.cl.ly/items/3O1D0K1v0j0i343O3T3T/Screen%20Shot%202012-12-17%20at%203.07.20%20PM.png) | ||||
* | 1.9 hash syntax changes to docs | AvnerCohen | 2012-10-31 | 3 | -5/+5 |
| |