Skip to content
Browse files

Merge pull request #14341 from keikun17/master

fix minor typo 'fields_for'. [ci skip]
  • Loading branch information...
2 parents ed9a69a + b87962f commit 8db0afe2a82e5ef2cdc58b07a00d4e9e13a308d4 @senny senny committed Mar 10, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 actionview/lib/action_view/helpers/form_helper.rb
View
4 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 8db0afe

Please sign in to comment.
Something went wrong with that request. Please try again.