This project is archived and is in readonly mode.

#498 ✓duplicate
Patrick Gruban

validates_uniqueness_of: wrong default in doc

Reported by Patrick Gruban | June 27th, 2008 @ 10:32 AM

activerecord/CHANGELOG says:

"Change validates_uniqueness_of :case_sensitive option default back to true (from [9160]). Love your database columns, don't LOWER them. [rick]"

but the documentations states:

":case_sensitive - Looks for an exact match. Ignored by non-text columns (false by default)."

The default is true

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