how to validate email using ruby on rails?
i want to validate email but i couldn't. is there method to validate? param[0] is email. if param[0] =~ Devise.email_regexp is not work. if param[0] =~ Devise.email_regexp {email: param[0], reason: I18n.t("user.error.invalid_email")}
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.