README.md in validators-2.4.2 vs README.md in validators-2.5.0

- old
+ new

@@ -30,9 +30,17 @@ # alternative way validates :email, :email => true end ``` +By default, it rejects disposable e-mails (e.g. mailinator). This loads ~15kb, but you can disable this validation by settings `disposable: true`. + +```ruby +class User < ActiveRecord::Base + validates_email_format_of :email, disposable: true +end +``` + ### validates_url_format_of ```ruby class User < ActiveRecord::Base validates_url_format_of :site