aboutsummaryrefslogtreecommitdiffstats
path: root/actionview
diff options
context:
space:
mode:
authorCakey | Buddy Magsipoc <keikun17@gmail.com>2014-03-10 20:10:38 +0800
committerCakey | Buddy Magsipoc <keikun17@gmail.com>2014-03-10 20:10:38 +0800
commitb87962f3a853548b0ba08f31167e1fe86fa91dfd (patch)
treedaa0fb86c95701e577c1799b7285c9e91e857178 /actionview
parented9a69a8fb542d12324e056b2ddde1156ac1038d (diff)
downloadrails-b87962f3a853548b0ba08f31167e1fe86fa91dfd.tar.gz
rails-b87962f3a853548b0ba08f31167e1fe86fa91dfd.tar.bz2
rails-b87962f3a853548b0ba08f31167e1fe86fa91dfd.zip
Fix 'fields_for' doc typo.
Diffstat (limited to 'actionview')
-rw-r--r--actionview/lib/action_view/helpers/form_helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionview/lib/action_view/helpers/form_helper.rb b/actionview/lib/action_view/helpers/form_helper.rb
index 5235962f9f..1ff090f244 100644
--- a/actionview/lib/action_view/helpers/form_helper.rb
+++ b/actionview/lib/action_view/helpers/form_helper.rb
@@ -457,7 +457,7 @@ module ActionView
# doesn't create the form tags themselves. This makes fields_for suitable
# for specifying additional model objects in the same form.
#
- # Although the usage and purpose of +field_for+ is similar to +form_for+'s,
+ # Although the usage and purpose of +fields_for+ is similar to +form_for+'s,
# its method signature is slightly different. Like +form_for+, it yields
# a FormBuilder object associated with a particular model object to a block,
# and within the block allows methods to be called on the builder to
@@ -1268,7 +1268,7 @@ module ActionView
# doesn't create the form tags themselves. This makes fields_for suitable
# for specifying additional model objects in the same form.
#
- # Although the usage and purpose of +field_for+ is similar to +form_for+'s,
+ # Although the usage and purpose of +fields_for+ is similar to +form_for+'s,
# its method signature is slightly different. Like +form_for+, it yields
# a FormBuilder object associated with a particular model object to a block,
# and within the block allows methods to be called on the builder to