Lets say you’re going to do validates_uniqueness_of on a model’s e-mail
If the e-mail address already exists how do I tell the model to just do
an update instead of redirecting back to the new/create page indicating
that the address already exists? I see a callback called
after_validation but I’m just not sure how to use it; it indeed it is
the method to use.
Any help would be much appreciated.