This project is archived and is in readonly mode.

#3720 ✓invalid
Anuj Dutta

Failures in uniqueness_validation_test for ActiveRecord

Reported by Anuj Dutta | January 17th, 2010 @ 06:48 AM

Got these two errors on running test_mysql:

  1) Failure:
test_validate_uniqueness(UniquenessValidationTest) [rails/activerecord/test/cases/validations/uniqueness_validation_test.rb]:
Shouldn't be valid

  2) Failure:
test_validate_uniqueness_with_limit_and_utf8(UniquenessValidationTest) [/rails/activerecord/test/cases/validations/uniqueness_validation_test.rb:251]:
Created an event whose title, with limit taken into account, is not unique

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Pages