This project is archived and is in readonly mode.

#883 ✓resolved
Trotter Cashion

validates_uniqueness_of is case_sensitive by default

Reported by Trotter Cashion | August 22nd, 2008 @ 03:33 PM | in 2.1.2

The ActiveRecord docs claim that validates_uniqueness of is case_insensitive by default, but the code claims that it is case sensitive. See this paste from Rails 2.1 to see what I'm talking about. The bug also exists in edge.

I would prefer that validates_uniqueness_of is case_insensitive by default. I'll make a patch w/ test when I have time.

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=""></a>


Referenced by