ActiveRecord::RecordNotUnique

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