Permalink
Browse files

Merge pull request #12512 from sbagdat/patch-1

Fix a writing mistake
  • Loading branch information...
2 parents 3651101 + 464def3 commit 081e4aad70015c0cf2adcaae3ca2cd57ff463f0f @pixeltrix pixeltrix committed Oct 12, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 guides/source/active_record_validations.md
View
2 guides/source/active_record_validations.md
@@ -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`

0 comments on commit 081e4aa

Please sign in to comment.