Permalink
Browse files

Merge pull request #13121 from pftg/patch-1

Removed redundant field name in the guide
  • Loading branch information...
guilleiguaran committed Dec 1, 2013
2 parents 777bc58 + 28be1a2 commit b77356e840a5077c737a13453f3f18552e9e28af
Showing with 1 addition and 1 deletion.
  1. +1 −1 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
```

0 comments on commit b77356e

Please sign in to comment.