method

new

Importance_0
v6.1.3.1 - Show latest stable - 0 notes - Class: Error
new(base, attribute, type = :invalid, **options) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activemodel/lib/active_model/error.rb, line 103
    def initialize(base, attribute, type = :invalid, **options)
      @base = base
      @attribute = attribute
      @raw_type = type
      @type = type || :invalid
      @options = options
    end
Register or log in to add new notes.