method

warn!

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.1.0) is shown here.

warn!(attrs)
protected

No documentation available.

# File activemodel/lib/active_model/mass_assignment_security/sanitizer.rb, line 18
      def warn!(attrs)
        self.logger.debug "WARNING: Can't mass-assign protected attributes: #{attrs.join(', ')}" if self.logger
      end