class ExclusionViolation
Ruby on Rails 8.1.2
Since v8.1.2Raised when a record cannot be inserted or updated because it would violate an exclusion constraint.
Inherits from
Methods (inherited)
From ActiveRecord::StatementInvalid (2)
From ActiveRecord::AdapterError (1)
- self. new