1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

minor correction to the AMo mass-assignment security docs

This commit is contained in:
Josh Kalderimis 2011-04-24 09:11:25 +02:00
parent f3b9d3aba8
commit bf40c729c6

View file

@ -34,7 +34,7 @@ module ActiveModel
#
# protected
#
# def scope
# def account_params
# scope = admin ? :admin : :default
# sanitize_for_mass_assignment(params[:account], scope)
# end