Flowdock
method

sanitize_for_mass_assignment

Importance_0
v3.1.0 - Show latest stable - 0 notes - Class: ActiveModel::MassAssignmentSecurity
sanitize_for_mass_assignment(attributes, role = :default) protected

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activemodel/lib/active_model/mass_assignment_security.rb, line 208
    def sanitize_for_mass_assignment(attributes, role = :default)
      mass_assignment_authorizer(role).sanitize(attributes)
    end
Register or log in to add new notes.