diff options
author | Frederick Cheung <frederick.cheung@gmail.com> | 2009-01-01 10:38:23 +0000 |
---|---|---|
committer | Frederick Cheung <frederick.cheung@gmail.com> | 2009-01-01 10:38:23 +0000 |
commit | 2ea0c3d61b5bd2ba9dfa9d80d101df132645b66d (patch) | |
tree | 6cf863d79462f7c00fc074d8c6280558cc94d63f /railties | |
parent | 32fee815faca79b7d1de33072bc55e7d0e08b453 (diff) | |
download | rails-2ea0c3d61b5bd2ba9dfa9d80d101df132645b66d.tar.gz rails-2ea0c3d61b5bd2ba9dfa9d80d101df132645b66d.tar.bz2 rails-2ea0c3d61b5bd2ba9dfa9d80d101df132645b66d.zip |
waffle about parameter names and fields_for
Diffstat (limited to 'railties')
-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 438071d101..2f8cb68b38 100644 --- a/railties/doc/guides/source/form_helpers.txt +++ b/railties/doc/guides/source/form_helpers.txt @@ -571,7 +571,7 @@ Array parameters do not play well with the `check_box` helper. According to the Using form helpers ~~~~~~~~~~~~~~~~~ -The previous sections did not use the Rails form helpers at all. While you can craft the input names yourself and pass them directly to helpers such as `text_field_tag` Rails also provides higher level support +The previous sections did not use the Rails form helpers at all. While you can craft the input names yourself and pass them directly to helpers such as `text_field_tag` Rails also provides higher level support. The two tools at your disposal here are the name parameter to `form_for`/`fields_for` and the `:index` option to the form helpers. Miscellaneous ------------- |