Skip to content
  • Horatiu Eugen Vlad's avatar
    Align EmailValidator to validate_email gem implementation. · 123c77a5d0b9
    Horatiu Eugen Vlad authored
    Renamed EmailValidator to DeviseEmailValidator to avoid 'email:' naming collision with ActiveModel::Validations::EmailValidator in 'validates' statement.
    Make use of the options attribute of the parent class ActiveModel::EachValidator.
    Add more options: regex.
    123c77a5d0b9