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