validates_uniqueness_of customization

Hey,

I have a simple web app where I would like users to sign up with a maximum of two accounts per email address. What would be the rails way of accomplishing this. Is there anyway of modifying validates_uniqueness_of to perform the proper validations?

Thanks

why do you insist on validates_uniquesness_of? you can just use a normal, customized validate method. but if you insist, you can redefine that method.