Class: Iry::ConstraintViolation

Inherits:
ActiveRecord::RecordInvalid
  • Object
show all
Includes:
Error
Defined in:
lib/iry.rb

Overview

Raised when constraints have been violated and have been converted to model errors, on ActiveRecord::Base#save! calls, to simulate a behavior similar to ActiveRecord::RecordInvalid when it’s raised