This project is archived and is in readonly mode.

#1285 ✓stale
Carlos Júnior (xjunior)

Reduce queries in uniqueness validation

Reported by Carlos Júnior (xjunior) | October 28th, 2008 @ 02:11 PM | in 3.x

When you're doing a uniqueness validation, you don't have to do it if the value haven't changed. Even if it's nil, because the validation should be done by the presence validation.

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