Skip to content
Browse files

Tiny doc fix for Strong Parameters

- accepts_nested_attribute_for -> accepts_nested_attributes_for
  • Loading branch information...
1 parent 1dc609c commit 17ddc1b058ccce267424abb1adaee0d07cc7edd8 @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
@@ -497,7 +497,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 17ddc1b

Please sign in to comment.
Something went wrong with that request. Please try again.