Alok Rai

Joined

1,510 Experience
15 Lessons Completed
0 Questions Solved

Activity

An alternative to using the Regex can be using a built-in Ruby constant

validates :email, format: { with: URI::MailTo::EMAIL_REGEXP, message: 'invalid email address provided' }