Validates uniqueness with scope case insensitive

rails 2.1, postgres 8

existing contact
first: FirstName
last: LastName
email: email

try to add
first: firstname
last: lastname
email: Email

should be disallowed

http://pastie.org/271354

how do i extend ActiveRecord::Validations::ClassMethods, alternatively
submit a patch?

cheers

Here are instructions for filing patches to the ticket tracker.

http://rails.lighthouseapp.com/projects/8994/sending-patches