Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Tiny doc fix for Strong Parameters

- accepts_nested_attribute_for -> accepts_nested_attributes_for
  • Loading branch information...
commit aa7382a2ea4c0e80de3789f22fd4ebbdf9007051 1 parent 4d441e3
@iancanderson iancanderson authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.