aboutsummaryrefslogtreecommitdiffstats
path: root/railties/doc
diff options
context:
space:
mode:
authorFrederick Cheung <frederick.cheung@gmail.com>2009-01-19 01:50:10 +0000
committerFrederick Cheung <frederick.cheung@gmail.com>2009-01-19 01:50:10 +0000
commita0b2223740165bb95057f8dc07f3de352508701b (patch)
tree410fb23cc5e524f991d044eecbd6956f71050ac0 /railties/doc
parente8c50fcd5e0ca2f0d8ff2c930e999373b9628e9b (diff)
downloadrails-a0b2223740165bb95057f8dc07f3de352508701b.tar.gz
rails-a0b2223740165bb95057f8dc07f3de352508701b.tar.bz2
rails-a0b2223740165bb95057f8dc07f3de352508701b.zip
rename section
Diffstat (limited to 'railties/doc')
-rw-r--r--railties/doc/guides/source/form_helpers.txt2
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 0fd7c23c96..4f956b099c 100644
--- a/railties/doc/guides/source/form_helpers.txt
+++ b/railties/doc/guides/source/form_helpers.txt
@@ -543,7 +543,7 @@ As a rule of thumb you should be using `date_select` when working with model obj
NOTE: In many cases the built in date pickers are clumsy as they do not aid the user in working out the relationship between the date and the day of the week.
-File Uploads
+Uploading Files
--------------
A common task is uploading some sort of file, whether it's a picture of a person or a CSV file containing data to process. The most important thing to remember with file uploads is that the form's encoding *MUST* be set to multipart/form-data. If you forget to do this the file will not be uploaded. This can be done by passing `:multi_part => true` as an HTML option. This means that in the case of `form_tag` it must be passed in the second options hash and in the case of `form_for` inside the `:html` hash.