method

new

rails latest stable - Class: ActiveModel::DeprecationHandlingMessageArray

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v6.1.7.7) is shown here.

new(content, errors, attribute)
public

No documentation available.

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