Flowdock
method

debug_protected_attribute_removal

Importance_0
Ruby on Rails latest stable (v4.0.2) - 0 notes - 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

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.