Browse files

Tiny doc fix for Strong Parameters

- accepts_nested_attribute_for -> accepts_nested_attributes_for
  • Loading branch information...
1 parent 4d441e3 commit aa7382a2ea4c0e80de3789f22fd4ebbdf9007051 @iancanderson iancanderson committed 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 aa7382a

Please sign in to comment.