class CheckViolation
Ruby on Rails edge
Since v8.1.3.1Available in: v8.1.3.1 edge
Raised when a record cannot be inserted or updated because it would violate a check constraint.
Inherits from
Methods (inherited)
From ActiveRecord::AdapterError
(1)
- self. new