RecordInvalidError

Constants

Methods

#initialize

def initialize(record)
  @record = record
  super(@record.errors.full_messages.join(', '))
end
#record

Returns the value of attribute record

def record
  @record
end