method

debug_protected_attribute_removal

rails latest stable - Class: ActiveModel::MassAssignmentSecurity::Sanitizer

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.2.13) is shown here.

debug_protected_attribute_removal(attributes, sanitized_attributes)
protected

No documentation available.

# File activemodel/lib/active_model/mass_assignment_security/sanitizer.rb, line 18
      def debug_protected_attribute_removal(attributes, sanitized_attributes)
        removed_keys = attributes.keys - sanitized_attributes.keys
        process_removed_attributes(removed_keys) if removed_keys.any?
      end