Browse files

Tiny doc fix for Strong Parameters

- accepts_nested_attribute_for -> accepts_nested_attributes_for
  • Loading branch information...
1 parent 2340c74 commit 440c191d531eb6edf38949e1553a6a0659bd79e7 @iancanderson iancanderson committed with arunagw Mar 30, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_controller/metal/strong_parameters.rb
View
2 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 440c191

Please sign in to comment.