instance method warn!

Ruby on Rails 3.1.12

Since v3.0.20 Last seen in v3.1.12

Available in: v3.0.20 v3.1.12

Signature

warn!(attrs)

No documentation comment.

Parameters

attrs req
Source
# 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

Defined in activemodel/lib/active_model/mass_assignment_security/sanitizer.rb line 18 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveModel::MassAssignmentSecurity::Sanitizer

Type at least 2 characters to search.

↑↓ navigate · open · esc close