diff options
author | Yves Senn <yves.senn@gmail.com> | 2013-06-13 09:52:18 -0700 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2013-06-13 09:52:18 -0700 |
commit | 399c369107a5977353ff330654ff1c5fd128cb54 (patch) | |
tree | 60182b58b05b47ed8fa9ceaf6358bdc9d4300fd6 | |
parent | b483a0d2a75bbec2f5eee363c88238cb612f07d6 (diff) | |
parent | 5c1a2cf6b309093ad5a6bb5d43364167ceaa7675 (diff) | |
download | rails-399c369107a5977353ff330654ff1c5fd128cb54.tar.gz rails-399c369107a5977353ff330654ff1c5fd128cb54.tar.bz2 rails-399c369107a5977353ff330654ff1c5fd128cb54.zip |
Merge pull request #10890 from buytruckload/master
update format validation documetation
-rw-r--r-- | guides/source/active_record_validations.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/active_record_validations.md b/guides/source/active_record_validations.md index 621d2222ff..f10f0254e5 100644 --- a/guides/source/active_record_validations.md +++ b/guides/source/active_record_validations.md @@ -357,7 +357,7 @@ given regular expression, which is specified using the `:with` option. ```ruby class Product < ActiveRecord::Base validates :legacy_code, format: { with: /\A[a-zA-Z]+\z/, - message: "Only letters allowed" } + message: "only allows letters" } end ``` |