Exception: ActiveRecord::ExclusionViolation
- Inherits:
-
StatementInvalid
- Object
- StandardError
- ActiveRecordError
- AdapterError
- StatementInvalid
- ActiveRecord::ExclusionViolation
- Defined in:
- lib/active_record/errors.rb
Overview
Raised when a record cannot be inserted or updated because it would violate an exclusion constraint.
Instance Attribute Summary
Attributes inherited from StatementInvalid
Attributes inherited from AdapterError
Method Summary
Methods inherited from StatementInvalid
Methods inherited from AdapterError
Constructor Details
This class inherits a constructor from ActiveRecord::StatementInvalid