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