Exception: ActiveRecord::RecordNotUnique

Inherits:
WrappedDatabaseException show all
Defined in:
lib/active_record/errors.rb

Overview

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

Instance Attribute Summary

Attributes inherited from StatementInvalid

#binds, #sql

Attributes inherited from AdapterError

#connection_pool

Method Summary

Methods inherited from StatementInvalid

#initialize, #set_query

Methods inherited from AdapterError

#initialize

Constructor Details

This class inherits a constructor from ActiveRecord::StatementInvalid