Permalink
Browse files

Stylistic tweak

  • Loading branch information...
1 parent 73ebb26 commit 092b1d8433b85c4b2239552a452935c11b592e63 @fcheung fcheung committed Dec 31, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/doc/guides/source/form_helpers.txt
@@ -174,7 +174,7 @@ How do forms with PUT or DELETE methods work?
Rails framework encourages RESTful design of your applications, which means you'll be making a lot of "PUT" and "DELETE" requests (besides "GET" and "POST"). Still, most browsers _don't support_ methods other than "GET" and "POST" when it comes to submitting forms. How does this work, then?
-Rails works around this issue by emulating other methods over POST with a hidden input named `"_method"` that is set to reflect the wanted method:
+Rails works around this issue by emulating other methods over POST with a hidden input named `"_method"` that is set to reflect the desired method:
----------------------------------------------------------------------------
form_tag(search_path, :method => "put")

0 comments on commit 092b1d8

Please sign in to comment.