diff options
author | Yves Senn <yves.senn@gmail.com> | 2014-03-10 13:27:17 +0100 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2014-03-10 13:27:17 +0100 |
commit | 8db0afe2a82e5ef2cdc58b07a00d4e9e13a308d4 (patch) | |
tree | daa0fb86c95701e577c1799b7285c9e91e857178 | |
parent | ed9a69a8fb542d12324e056b2ddde1156ac1038d (diff) | |
parent | b87962f3a853548b0ba08f31167e1fe86fa91dfd (diff) | |
download | rails-8db0afe2a82e5ef2cdc58b07a00d4e9e13a308d4.tar.gz rails-8db0afe2a82e5ef2cdc58b07a00d4e9e13a308d4.tar.bz2 rails-8db0afe2a82e5ef2cdc58b07a00d4e9e13a308d4.zip |
Merge pull request #14341 from keikun17/master
fix minor typo 'fields_for'. [ci skip]
-rw-r--r-- | actionview/lib/action_view/helpers/form_helper.rb | 4 |
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 |