This project is archived and is in readonly mode.
validates_uniqueness_of is case_sensitive by default
-
José Valim
I think the default should be the same as the database default.
MySQL, for example, is case insensitive. I don't know if all are case insensitive.
-
Peter Wagenet
As it is, it seems that either the docs or the method need to be changed.
-
Tarmo Tänav
- Tag changed from activerecord, bug, edge to activerecord, bug, edge
- Milestone changed from 2.x to 2.1.1
It is intended to be case sensitive by default, there is an explicit commit that says so, but somehow during a documentation mass-update in http://github.com/rails/rails/co... it got flipped to false (still correct in edge though).
-
Tarmo Tänav
- Milestone changed from 2.1.1 to 2.1.2
-
Tarmo Tänav
- State changed from new to resolved
