3 ms·
OP is right about not using regex, but wrong about the "just send it" solution (for reasons outlined by several other posters). We use this clever (and well-ex
by pardner 13y ago
OP is right about not using regex, but wrong about the "just send it" solution (for reasons outlined by several other posters).
We use this clever (and well-explained) solution from http://my.rails-royce.org/2010/07/21/email-validation-in-ruby-on-rails-without-regexp/ http://my.rails-royce.org/2010/07/21/email-validation-in-rub...