README.md in validators-2.5.2 vs README.md in validators-2.5.3
- old
+ new
@@ -2,11 +2,11 @@
[![Build Status](https://travis-ci.org/fnando/validators.svg)](https://travis-ci.org/fnando/validators)
[![Code Climate](https://codeclimate.com/github/fnando/validators/badges/gpa.svg)](https://codeclimate.com/github/fnando/validators)
[![Test Coverage](https://codeclimate.com/github/fnando/validators/badges/coverage.svg)](https://codeclimate.com/github/fnando/validators)
-Add some nice Rails 3 ActiveRecord validators.
+Add some nice ActiveModel/ActiveRecord validators.
## Installation
```
gem install validators
@@ -30,10 +30,10 @@
# 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`.
+By default, it rejects disposable e-mails (e.g. mailinator). This loads ~15kb, but you can disable this validation by setting `disposable: true`.
```ruby
class User < ActiveRecord::Base
validates_email_format_of :email, disposable: true
end