Exception: ActiveRecord::RecordNotUnique

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

Overview

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

Instance Attribute Summary

Attributes inherited from StatementInvalid

#original_exception

Method Summary

Methods inherited from StatementInvalid

#initialize

Constructor Details

This class inherits a constructor from ActiveRecord::StatementInvalid