--- form.rb 2009-05-19 09:28:28.000000000 -0500 +++ form.rb 2009-05-19 09:29:49.000000000 -0500 @@ -50,7 +50,12 @@ end def form_method - Webrat::XML.attribute(@element, "method").blank? ? :get : Webrat::XML.attribute(@element, "method").downcase + special_method = Webrat::XML.css_search(@element, 'input[name="_method"]').first + unless special_method.nil? + special_method['value'] + else + Webrat::XML.attribute(@element, "method").blank? ? :get : Webrat::XML.attribute(@element, "method").downcase + end end def form_action