Fix a writing mistake

A small mistake found in the line of ```The default error is "can't be empty"``` for ```:presence``` helper. ```empty``` word changed to ```blank```.
This commit is contained in:
Sıtkı Bağdat 2013-10-12 16:47:17 +03:00
parent 365110196a
commit 464def3ecf
1 changed files with 1 additions and 1 deletions

View File

@ -528,7 +528,7 @@ If you validate the presence of an object associated via a `has_one` or
Since `false.blank?` is true, if you want to validate the presence of a boolean
field you should use `validates :field_name, inclusion: { in: [true, false] }`.
The default error message is _"can't be empty"_.
The default error message is _"can't be blank"_.
### `absence`