edge badge

Raised by ActiveRecord::Validations#save! and ActiveRecord::Base.create! methods when record cannot be saved because record is invalid.

Methods
N
Attributes
[R] record
Class Public methods
new(record)
# File activerecord/lib/active_record/errors.rb, line 57
def initialize(record)
  @record = record
  super()
end