Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on May 20, 2012
  1. @pixeltrix

    Raise ActionController::BadRequest for malformed parameter hashes.

    pixeltrix committed
    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
Commits on May 13, 2012
  1. @pixeltrix
Commits on Nov 2, 2010
  1. @pixeltrix

    Add additional HTTP request methods from the following RFCs:

    pixeltrix committed
    * Hypertext Transfer Protocol -- HTTP/1.1
    * HTTP Extensions for Distributed Authoring -- WEBDAV
    * Versioning Extensions to WebDAV
    * Ordered Collections Protocol (WebDAV)
    * Web Distributed Authoring and Versioning (WebDAV) Access Control Protocol
    * Web Distributed Authoring and Versioning (WebDAV) SEARCH
    * PATCH Method for HTTP
    [#2809 state:resolved] [#5895 state:resolved]
Something went wrong with that request. Please try again.