class method self.new

Ruby on Rails 6.1.7.10

Since v6.1.7.10 Last seen in v6.1.7.10

Signature

self.new(content, errors, attribute)

No documentation comment.

Parameters

content req
errors req
attribute req
Source
# File activemodel/lib/active_model/errors.rb, line 639
    def initialize(content, errors, attribute)
      @errors = errors
      @attribute = attribute
      super(content.freeze)
    end

Defined in activemodel/lib/active_model/errors.rb line 639 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveModel::DeprecationHandlingMessageArray

Type at least 2 characters to search.

↑↓ navigate · open · esc close