Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removed redundant field name in the guide

Fixes: #13108
[ci skip]
  • Loading branch information...
commit df53c346ca9f933b652474410f50d73eeebe54cf 1 parent 405b5f6
@pftg pftg authored guilleiguaran committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  guides/source/active_record_validations.md
View
2  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
```
Please sign in to comment.
Something went wrong with that request. Please try again.