From 2ea0c3d61b5bd2ba9dfa9d80d101df132645b66d Mon Sep 17 00:00:00 2001 From: Frederick Cheung Date: Thu, 1 Jan 2009 10:38:23 +0000 Subject: waffle about parameter names and fields_for --- railties/doc/guides/source/form_helpers.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'railties') 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 ------------- -- cgit v1.2.3