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' }

Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more.

© 2023 GoRails, LLC. All rights reserved.