Email validation

Posted by Denny at 22:49 on Thu, 27 Feb 2020

Today I added email validation in models, using the email_address gem. Very straight-forward integration with ActiveRecord - it provides a validator, so it really just plugs straight in with zero effort. I've configured it to skip MX checks when my tests are running, I think that was the only thing I had to tweak.

Tags: email validation email validation gems

« Ahoy! Basic web stats tracking New News Is Good News »

Comments

No comments found