aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib
diff options
context:
space:
mode:
authorJosh Kalderimis <josh.kalderimis@gmail.com>2011-04-24 09:11:25 +0200
committerJosh Kalderimis <josh.kalderimis@gmail.com>2011-04-24 09:58:12 +0200
commitbf40c729c6930ffc711760948701e5edf3edb25b (patch)
treee6442e5fe0541c8a9ec5732a3ee00e475f6834d5 /activemodel/lib
parentf3b9d3aba8cc0ffaca2da1c73c4ba96de2066760 (diff)
downloadrails-bf40c729c6930ffc711760948701e5edf3edb25b.tar.gz
rails-bf40c729c6930ffc711760948701e5edf3edb25b.tar.bz2
rails-bf40c729c6930ffc711760948701e5edf3edb25b.zip
minor correction to the AMo mass-assignment security docs
Diffstat (limited to 'activemodel/lib')
-rw-r--r--activemodel/lib/active_model/mass_assignment_security.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/lib/active_model/mass_assignment_security.rb b/activemodel/lib/active_model/mass_assignment_security.rb
index e329933175..01eef762fd 100644
--- a/activemodel/lib/active_model/mass_assignment_security.rb
+++ b/activemodel/lib/active_model/mass_assignment_security.rb
@@ -34,7 +34,7 @@ module ActiveModel
#
# protected
#
- # def scope
+ # def account_params
# scope = admin ? :admin : :default
# sanitize_for_mass_assignment(params[:account], scope)
# end