validates_uniqueness_of customization


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?


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.