aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Nikitochkin <pftg@jetthoughts.com>2013-12-01 08:01:28 +0200
committerPaul Nikitochkin <pftg@jetthoughts.com>2013-12-01 08:01:28 +0200
commit28be1a28eaf49dc6d2978d99fe1ac7cd770eb8a3 (patch)
tree78d56676d288e4e8e3cd79ba8e1d1814c61c4e50
parent777bc58de1a332c9dcf65becaf11643fc36d4101 (diff)
downloadrails-28be1a28eaf49dc6d2978d99fe1ac7cd770eb8a3.tar.gz
rails-28be1a28eaf49dc6d2978d99fe1ac7cd770eb8a3.tar.bz2
rails-28be1a28eaf49dc6d2978d99fe1ac7cd770eb8a3.zip
Removed redundant field name in the guide
Fixes: #13108 [ci skip]
-rw-r--r--guides/source/active_record_validations.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/active_record_validations.md b/guides/source/active_record_validations.md
index cbd1ac9bdf..efa826e8df 100644
--- a/guides/source/active_record_validations.md
+++ b/guides/source/active_record_validations.md
@@ -337,7 +337,7 @@ set. In fact, this set can be any enumerable object.
```ruby
class Account < ActiveRecord::Base
validates :subdomain, exclusion: { in: %w(www us ca jp),
- message: "Subdomain %{value} is reserved." }
+ message: "%{value} is reserved." }
end
```