Permalink
Browse files

removed TIP: :allow_nil/:allow_blank is ignored by the presence valid…

…ator

These tips were documenting an inconsistency issue #8621. That issue is resolved by #8622.
  • Loading branch information...
1 parent 41381c1 commit 52691c369c559d726d94d8551b5b809621e31a84 @ColinDKelley ColinDKelley committed Dec 27, 2012
Showing with 0 additions and 4 deletions.
  1. +0 −4 guides/source/active_record_validations.md
@@ -656,8 +656,6 @@ class Coffee < ActiveRecord::Base
end
```
-TIP: `:allow_nil` is ignored by the presence validator.
-
### `:allow_blank`
The `:allow_blank` option is similar to the `:allow_nil` option. This option
@@ -673,8 +671,6 @@ Topic.create("title" => "").valid? # => true
Topic.create("title" => nil).valid? # => true
```
-TIP: `:allow_blank` is ignored by the presence validator.
-
### `:message`
As you've already seen, the `:message` option lets you specify the message that

0 comments on commit 52691c3

Please sign in to comment.