aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorIan C. Anderson <anderson.ian.c@gmail.com>2014-03-30 22:19:30 -0400
committerIan C. Anderson <anderson.ian.c@gmail.com>2014-03-30 22:19:30 -0400
commitaa7382a2ea4c0e80de3789f22fd4ebbdf9007051 (patch)
tree9f0b44ba9d21ff019cc4551acde85fe78519a683 /actionpack
parent4d441e37c2bea0fe1817c3aafe0f82410a4d787c (diff)
downloadrails-aa7382a2ea4c0e80de3789f22fd4ebbdf9007051.tar.gz
rails-aa7382a2ea4c0e80de3789f22fd4ebbdf9007051.tar.bz2
rails-aa7382a2ea4c0e80de3789f22fd4ebbdf9007051.zip
Tiny doc fix for Strong Parameters
- accepts_nested_attribute_for -> accepts_nested_attributes_for
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_controller/metal/strong_parameters.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/metal/strong_parameters.rb b/actionpack/lib/action_controller/metal/strong_parameters.rb
index aff083b502..d86d49c9dc 100644
--- a/actionpack/lib/action_controller/metal/strong_parameters.rb
+++ b/actionpack/lib/action_controller/metal/strong_parameters.rb
@@ -502,7 +502,7 @@ module ActionController
# end
# end
#
- # In order to use <tt>accepts_nested_attribute_for</tt> with Strong \Parameters, you
+ # In order to use <tt>accepts_nested_attributes_for</tt> with Strong \Parameters, you
# will need to specify which nested attributes should be whitelisted.
#
# class Person