From 56152d8f60963a3d862f335144a33782723ade83 Mon Sep 17 00:00:00 2001 From: Pratik Naik Date: Sun, 18 Jan 2009 00:18:02 +0000 Subject: Regenerate guides --- railties/doc/guides/html/form_helpers.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'railties/doc/guides/html/form_helpers.html') diff --git a/railties/doc/guides/html/form_helpers.html b/railties/doc/guides/html/form_helpers.html index 0834cdd15a..a43cbe584f 100644 --- a/railties/doc/guides/html/form_helpers.html +++ b/railties/doc/guides/html/form_helpers.html @@ -715,7 +715,7 @@ The model object helpers for dates and times submit parameters with special name

by defining a LabellingFormBuilder class similar to the following:

-
@@ -769,7 +769,7 @@ http://www.gnu.org/software/src-highlite -->

7.1. What gets uploaded

The object in the params hash is an instance of a subclass of IO. Depending on the size of the uploaded file it may in fact be a StringIO or an instance of File backed by a temporary file. In both cases the object will have an original_filename attribute containing the name the file had on the user’s computer and a content_type attribute containing the MIME type of the uploaded file. The following snippet saves the uploaded content in #{RAILS_ROOT}/public/uploads under the same name as the original file (assuming the form was the one in the previous example).

-
@@ -819,7 +819,7 @@ action for a Person model, params[:model] would usually be a hash of al

the params hash will contain

-
@@ -832,7 +832,7 @@ http://www.gnu.org/software/src-highlite -->

will result in the params hash being

-
@@ -888,7 +888,7 @@ http://www.gnu.org/software/src-highlite -->

This will result in a params hash that looks like

-
-- cgit v1.2.3