diff options
author | Josh Kalderimis <josh.kalderimis@gmail.com> | 2011-04-24 09:11:25 +0200 |
---|---|---|
committer | Josh Kalderimis <josh.kalderimis@gmail.com> | 2011-04-24 09:58:12 +0200 |
commit | bf40c729c6930ffc711760948701e5edf3edb25b (patch) | |
tree | e6442e5fe0541c8a9ec5732a3ee00e475f6834d5 /activemodel/lib | |
parent | f3b9d3aba8cc0ffaca2da1c73c4ba96de2066760 (diff) | |
download | rails-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.rb | 2 |
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 |