Validate email addresses using Devise.email_regexp
Also:
- Get rid of legacy :strict_mode
- Get rid of custom :email validator
- Add some shared examples to spec emails validation
Showing
app/validators/email_validator.rb
deleted
100644 → 0
spec/models/email_spec.rb
0 → 100644
spec/support/email_format_shared_examples.rb
0 → 100644
Please
register
or
sign in
to comment