Permalink
Browse files

Merge pull request #14535 from iancanderson/patch-1

Tiny doc fix for Strong Parameters
  • Loading branch information...
2 parents 4d441e3 + aa7382a commit 5e31b4ac839c7f0e72fccf9caacdaffe2a69ecb1 @arunagw arunagw committed Mar 31, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_controller/metal/strong_parameters.rb
@@ -502,7 +502,7 @@ def hash_filter(params, filter)
# 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

0 comments on commit 5e31b4a

Please sign in to comment.