aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/form_helpers.md
diff options
context:
space:
mode:
authoryui-knk <spiketeika@gmail.com>2015-03-23 00:43:04 +0900
committeryui-knk <spiketeika@gmail.com>2015-03-23 00:43:04 +0900
commit133317593e8f1608670cd2e30a6faf30abe9233e (patch)
tree7492c2221c43fc56369e6b76598f7a493b9af7d9 /guides/source/form_helpers.md
parent055ef4b62366c4d92774df7f65f8de7427ba4aaa (diff)
downloadrails-133317593e8f1608670cd2e30a6faf30abe9233e.tar.gz
rails-133317593e8f1608670cd2e30a6faf30abe9233e.tar.bz2
rails-133317593e8f1608670cd2e30a6faf30abe9233e.zip
[ci skip] Add link for "parameter_names section"
Diffstat (limited to 'guides/source/form_helpers.md')
-rw-r--r--guides/source/form_helpers.md2
1 files changed, 1 insertions, 1 deletions
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:
</form>
```
-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.