diff options
author | Frederick Cheung <frederick.cheung@gmail.com> | 2008-12-31 12:00:15 +0000 |
---|---|---|
committer | Frederick Cheung <frederick.cheung@gmail.com> | 2008-12-31 17:13:11 +0000 |
commit | 092b1d8433b85c4b2239552a452935c11b592e63 (patch) | |
tree | b6dd9ddc3f64e94f2ec3694a0adc48b91055a506 /railties/doc/guides | |
parent | 73ebb26ece2075e925c89a991b1e3c8ffabe84fd (diff) | |
download | rails-092b1d8433b85c4b2239552a452935c11b592e63.tar.gz rails-092b1d8433b85c4b2239552a452935c11b592e63.tar.bz2 rails-092b1d8433b85c4b2239552a452935c11b592e63.zip |
Stylistic tweak
Diffstat (limited to 'railties/doc/guides')
-rw-r--r-- | railties/doc/guides/source/form_helpers.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/doc/guides/source/form_helpers.txt b/railties/doc/guides/source/form_helpers.txt index 52891cea9d..8cbf553b85 100644 --- a/railties/doc/guides/source/form_helpers.txt +++ b/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") |