Permalink
Browse files

minor correction to the AMo mass-assignment security docs

  • Loading branch information...
1 parent f3b9d3a commit bf40c729c6930ffc711760948701e5edf3edb25b @joshk joshk committed Apr 24, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 activemodel/lib/active_model/mass_assignment_security.rb
@@ -34,7 +34,7 @@ module MassAssignmentSecurity
#
# protected
#
- # def scope
+ # def account_params
# scope = admin ? :admin : :default
# sanitize_for_mass_assignment(params[:account], scope)
# end

0 comments on commit bf40c72

Please sign in to comment.