E-Mail validator for block services like mailinator.com, dropmail.me, etc. during new user registration.
Installation
Add this line to your application's Gemfile:
gem 'fake_email_validator'
How to use?
Just add validator to your User model:
validates :email, fake_email: true
FAQ
Where is a list of blocked domains?
It is here.
Contributing
- 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