method

new

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: UnknownAttributeError
new(record, attribute) 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/errors.rb, line 541
    def initialize(record, attribute)
      @record = record
      @attribute = attribute
      super("unknown attribute '#{attribute}' for #{@record.class}.")
    end
Register or log in to add new notes.