This project is archived and is in readonly mode.
Failures in uniqueness_validation_test for ActiveRecord
-
Anuj Dutta
- Title changed from Errors in activerecord/test/cases/validations/uniqueness_validation_test to Failures in activerecord/test/cases/validations/uniqueness_validation_test
-
José Valim
- Title changed from Failures in activerecord/test/cases/validations/uniqueness_validation_test to Failures in uniqueness_validation_test for ActiveRecord
-
Ben Marini
I think this is related to this ticket:
https://rails.lighthouseapp.com/projects/16213/tickets/97-contribut...You have to create your mysql test databases with a character set of utf-8 for that test to pass.
-
warrenv
I was seeing the same two validation failures with 'rake test_mysql'.
After dropping the activerecord_unittest and activerecord_unittest2 databases
as follows, all tests are passing.mysql> create database activerecord_unittest character set 'utf8';
Query OK, 1 row affected (0.00 sec)mysql> create database activerecord_unittest2 character set 'utf8';
Query OK, 1 row affected (0.00 sec) -
José Valim
- State changed from new to invalid