module ActiveModel::MassAssignmentSecurity::Sanitizer
def debug_protected_attribute_removal(attributes, sanitized_attributes)
def debug_protected_attribute_removal(attributes, sanitized_attributes) removed_keys = attributes.keys - sanitized_attributes.keys warn!(removed_keys) if removed_keys.any? end