method

new

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 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.