aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/middleware/exception_wrapper.rb
Commit message (Collapse)AuthorAgeFilesLines
* Suppress warning about IO#lines in Ruby 2.0Ryunosuke SATO2013-01-041-1/+1
| | | | actionpack/lib/action_dispatch/middleware/exception_wrapper.rb:99: IO#lines is deprecated; use #each_line instead
* remove meaningless AS::FrozenObjectErrorAkira Matsuda2013-01-021-1/+0
|
* Add style to AV::Template::Error exception pageGuillermo Iguaran2012-12-311-1/+2
|
* Add source extract to detailed exception pageGuillermo Iguaran2012-12-311-1/+21
|
* log 404 status when ActiveRecord::RecordNotFound was raised (#7646)Yves Senn2012-09-171-1/+5
|
* Raise ActionController::BadRequest for malformed parameter hashes.Andrew White2012-05-201-1/+2
| | | | | | | | | | | | | | Currently Rack raises a TypeError when it encounters a malformed or ambiguous hash like `foo[]=bar&foo[4]=bar`. Rather than pass this through to the application this commit captures the exception and re-raises it using a new ActionController::BadRequest exception. The new ActionController::BadRequest exception returns a 400 error instead of the 500 error that would've been returned by the original TypeError. This allows exception notification libraries to ignore these errors if so desired. Closes #3051
* Move require to where it's neededSantiago Pastorino2012-05-111-1/+2
|
* Raise a rescuable exception when Rails doesn't know what to do with the ↵Steven Soroka2012-05-061-0/+1
| | | | format, rather than responding with a head :not_acceptable (406)
* Split ShowExceptions responsibilities in two middlewares.José Valim2011-12-011-0/+1
|
* Add an ExceptionWrapper that wraps an exception and provide convenience helpers.José Valim2011-12-011-0/+77