edge badge

Raised when unknown attributes are supplied via mass assignment.

Methods
N
Attributes
[R] attribute
[R] record
Class Public methods
new(record, attribute)
# File activerecord/lib/active_record/errors.rb, line 167
def initialize(record, attribute)
  @record = record
  @attribute = attribute.to_s
  super("unknown attribute: #{attribute}")
end