This project is archived and is in readonly mode.

#3536 ✓wontfix
Matthias Hennemeyer

Separate tests for validate uniqueness with utf characters

Reported by Matthias Hennemeyer | December 2nd, 2009 @ 02:39 PM

In activerecord/test/cases/validation/uniqeness_validation_test.rb:44
there is one basic test for validates_uniqueness that also contains utf8 characters. It would be better to separately test the basic behavior and utf8 support.

The patch removes the special chars from the basic test and adds a second test that contains special chars.

Comments and changes to this ticket

  • Michael Koziarski

    Michael Koziarski December 14th, 2009 @ 08:37 PM

    • State changed from “new” to “wontfix”

    UTF-8 support isn't an 'additional feature' though, if it doesn't work with those strings, it's broken.

    I'd prefer we left it as is lest people start thinking 'oh well, it's just those non-important utf8 strings that are broken'

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

Attachments

Pages