class CheckViolation

Ruby on Rails 8.1.2

Since v8.1.2

Raised when a record cannot be inserted or updated because it would violate a check constraint.

Inherits from

ActiveRecord::StatementInvalid

Methods (inherited)

From ActiveRecord::StatementInvalid (2)
From ActiveRecord::AdapterError (1)

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close