Flowdock
method

debug_protected_attribute_removal

Importance_0
v3.2.3 - Show latest stable - 0 notes - Class: ActiveModel::MassAssignmentSecurity::Sanitizer
debug_protected_attribute_removal(attributes, sanitized_attributes) 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/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
Register or log in to add new notes.