aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/active_record_validations.md
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2012-12-29 00:19:51 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2012-12-29 00:19:51 +0530
commit427544ed45ff8dccc4c94065ce243806189b282e (patch)
tree1c811ab1acfaed2ab902bf8e57d9a12f60d49cb6 /guides/source/active_record_validations.md
parent90397de416bb4d9d852a1baa65f954c81bf9911a (diff)
parent896a04971be6ec0df7df70545ee85e7978d3e41a (diff)
downloadrails-427544ed45ff8dccc4c94065ce243806189b282e.tar.gz
rails-427544ed45ff8dccc4c94065ce243806189b282e.tar.bz2
rails-427544ed45ff8dccc4c94065ce243806189b282e.zip
Merge branch 'master' of github.com:lifo/docrails
Diffstat (limited to 'guides/source/active_record_validations.md')
-rw-r--r--guides/source/active_record_validations.md4
1 files changed, 0 insertions, 4 deletions
diff --git a/guides/source/active_record_validations.md b/guides/source/active_record_validations.md
index 822d12aa3a..5797c93ae7 100644
--- a/guides/source/active_record_validations.md
+++ b/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