E-Mail validator for block services like mailinator.com, dropmail.me, etc. during new user registration.
- Ruby 2.2.2+
Add this line to your application's Gemfile:
gem 'fake_email_validator'
Just add validator to your User model:
validates :email, fake_email: true
It is here.
- Fork it ( http://github.com/maxd/fake_email_validator/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request