Hi,
I'm sending friends invitations and I want to validate email address using User.validates_format_of :email
, except that User.email has a couple of other validations which I'm not really interested in.
So is there a way to run a single validation on a model or check if that specific validation has passed (without doing
user.errors.include?(validation_message)
)?