Permalink
Browse files

Fix 'fields_for' doc typo.

  • Loading branch information...
1 parent ed9a69a commit b87962f3a853548b0ba08f31167e1fe86fa91dfd @keikun17 keikun17 committed Mar 10, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 actionview/lib/action_view/helpers/form_helper.rb
@@ -457,7 +457,7 @@ def apply_form_for_options!(record, object, options) #:nodoc:
# 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 @@ def #{selector}(method, options = {}) # def text_field(method, options = {})
# 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

0 comments on commit b87962f

Please sign in to comment.