method

new

rails latest stable - Class: ActiveModel::DeprecationHandlingMessageHash

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(errors)
public

No documentation available.

# File activemodel/lib/active_model/errors.rb, line 600
    def initialize(errors)
      @errors = errors
      super(prepare_content)
    end