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