aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/form_helpers.md
diff options
context:
space:
mode:
authorArthur Nogueira Neves <github@arthurnn.com>2015-03-22 12:10:27 -0400
committerArthur Nogueira Neves <github@arthurnn.com>2015-03-22 12:10:27 -0400
commitd85c52d203cb0199e84b564e73ca247fc0746dcb (patch)
tree7492c2221c43fc56369e6b76598f7a493b9af7d9 /guides/source/form_helpers.md
parent055ef4b62366c4d92774df7f65f8de7427ba4aaa (diff)
parent133317593e8f1608670cd2e30a6faf30abe9233e (diff)
downloadrails-d85c52d203cb0199e84b564e73ca247fc0746dcb.tar.gz
rails-d85c52d203cb0199e84b564e73ca247fc0746dcb.tar.bz2
rails-d85c52d203cb0199e84b564e73ca247fc0746dcb.zip
Merge pull request #19460 from yui-knk/feature/add_link
[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.