From 133317593e8f1608670cd2e30a6faf30abe9233e Mon Sep 17 00:00:00 2001 From: yui-knk Date: Mon, 23 Mar 2015 00:43:04 +0900 Subject: [PATCH] [ci skip] Add link for "parameter_names section" --- guides/source/form_helpers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guides/source/form_helpers.md b/guides/source/form_helpers.md index c21a2ba613..2b71b5e04e 100644 --- a/guides/source/form_helpers.md +++ b/guides/source/form_helpers.md @@ -282,7 +282,7 @@ The resulting HTML is: ``` -The name passed to `form_for` controls the key used in `params` to access the form's values. Here the name is `article` and so all the inputs have names of the form `article[attribute_name]`. Accordingly, in the `create` action `params[:article]` will be a hash with keys `:title` and `:body`. You can read more about the significance of input names in the parameter_names section. +The name passed to `form_for` controls the key used in `params` to access the form's values. Here the name is `article` and so all the inputs have names of the form `article[attribute_name]`. Accordingly, in the `create` action `params[:article]` will be a hash with keys `:title` and `:body`. You can read more about the significance of input names in the [parameter_names section](#understanding-parameter-naming-conventions). The helper methods called on the form builder are identical to the model object helpers except that it is not necessary to specify which object is being edited since this is already managed by the form builder.