RubyGems.org

Rack::MethodOverride only checks the X-Http-Method-Override header and the form encoded post body for _method. Rack::MethodOverrideWithParams checks both of those _and_ the query params. So, if you POST xml with a url like http://example.com/?_method=delete the application will see it as a delete request.

installgem install rack-methodoverride-with-params
Authors

Nick Howard

15,491 total downloads 15,491 for this version
Owners

5e60ac32af93ff0f426c980e43f221e7

Gemfile
gem 'rack-methodoverride-with-params', '~> 1.0.0'
Versions
  1. 1.0.0 September 28, 2010 (5.5 KB)
Runtime Dependencies
  1. rack ~> 1
Development Dependencies
  1. rspec ~> 2