aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2011-02-11 00:17:03 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2011-02-11 00:17:03 +0530
commit0db9de6cf66b6a4388794efd8801f720ea95f242 (patch)
tree23a3bf64fab22fd2677db3c697488ec5d1f28d76 /railties/guides
parentf68287f0be387c858766bbab237424d2d54edf71 (diff)
downloadrails-0db9de6cf66b6a4388794efd8801f720ea95f242.tar.gz
rails-0db9de6cf66b6a4388794efd8801f720ea95f242.tar.bz2
rails-0db9de6cf66b6a4388794efd8801f720ea95f242.zip
updated reference to remote_form_for
Diffstat (limited to 'railties/guides')
-rw-r--r--railties/guides/source/form_helpers.textile4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/guides/source/form_helpers.textile b/railties/guides/source/form_helpers.textile
index 7b4426b335..7a033a30d7 100644
--- a/railties/guides/source/form_helpers.textile
+++ b/railties/guides/source/form_helpers.textile
@@ -187,7 +187,7 @@ output:
Hidden inputs are not shown to the user, but they hold data like any textual input. Values inside them can be changed with JavaScript.
-TIP: If you're using password input fields (for any purpose), you might want to prevent their values showing up in application logs by activating +filter_parameter_logging(:password)+ in your ApplicationController.
+TIP: If you're using password input fields (for any purpose), you might want to configure your application to prevent those parameters from being logged.
h3. Dealing with Model Objects
@@ -594,7 +594,7 @@ NOTE: If the user has not selected a file the corresponding parameter will be an
h4. Dealing with Ajax
-Unlike other forms making an asynchronous file upload form is not as simple as replacing +form_for+ with +remote_form_for+. With an Ajax form the serialization is done by JavaScript running inside the browser and since JavaScript cannot read files from your hard drive the file cannot be uploaded. The most common workaround is to use an invisible iframe that serves as the target for the form submission.
+Unlike other forms making an asynchronous file upload form is not as simple as providing +form_for+ with <tt>:remote => true</tt>. With an Ajax form the serialization is done by JavaScript running inside the browser and since JavaScript cannot read files from your hard drive the file cannot be uploaded. The most common workaround is to use an invisible iframe that serves as the target for the form submission.
h3. Customizing Form Builders