diff options
author | Ian C. Anderson <anderson.ian.c@gmail.com> | 2014-03-30 22:19:30 -0400 |
---|---|---|
committer | Ian C. Anderson <anderson.ian.c@gmail.com> | 2014-03-30 22:19:30 -0400 |
commit | aa7382a2ea4c0e80de3789f22fd4ebbdf9007051 (patch) | |
tree | 9f0b44ba9d21ff019cc4551acde85fe78519a683 | |
parent | 4d441e37c2bea0fe1817c3aafe0f82410a4d787c (diff) | |
download | rails-aa7382a2ea4c0e80de3789f22fd4ebbdf9007051.tar.gz rails-aa7382a2ea4c0e80de3789f22fd4ebbdf9007051.tar.bz2 rails-aa7382a2ea4c0e80de3789f22fd4ebbdf9007051.zip |
Tiny doc fix for Strong Parameters
- accepts_nested_attribute_for -> accepts_nested_attributes_for
-rw-r--r-- | actionpack/lib/action_controller/metal/strong_parameters.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/metal/strong_parameters.rb b/actionpack/lib/action_controller/metal/strong_parameters.rb index aff083b502..d86d49c9dc 100644 --- a/actionpack/lib/action_controller/metal/strong_parameters.rb +++ b/actionpack/lib/action_controller/metal/strong_parameters.rb @@ -502,7 +502,7 @@ module ActionController # 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 |