aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/active_record_validations_callbacks.textile
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2010-10-19 23:07:29 +0200
committerXavier Noria <fxn@hashref.com>2010-10-19 23:07:29 +0200
commitd619b9d1d1ad8d7497bf24283b2318c056283f48 (patch)
treed0a937b8630d4244eb91f45398dfe2be69ba6c45 /railties/guides/source/active_record_validations_callbacks.textile
parent95d87823d4c9837e7a491fb4469869c5b2de5e05 (diff)
parente43de58ab449218ab2d56e30e54e429aadcb8a1b (diff)
downloadrails-d619b9d1d1ad8d7497bf24283b2318c056283f48.tar.gz
rails-d619b9d1d1ad8d7497bf24283b2318c056283f48.tar.bz2
rails-d619b9d1d1ad8d7497bf24283b2318c056283f48.zip
Merge branch 'master' of git://github.com/lifo/docrails
Diffstat (limited to 'railties/guides/source/active_record_validations_callbacks.textile')
-rw-r--r--railties/guides/source/active_record_validations_callbacks.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/active_record_validations_callbacks.textile b/railties/guides/source/active_record_validations_callbacks.textile
index a8ccfc7e40..a9d66c0a06 100644
--- a/railties/guides/source/active_record_validations_callbacks.textile
+++ b/railties/guides/source/active_record_validations_callbacks.textile
@@ -235,7 +235,7 @@ This helper validates that the attributes' values are not included in a given se
<ruby>
class Account < ActiveRecord::Base
- validates_exclusion_of :subdomain, :in => %w(www),
+ validates_exclusion_of :subdomain, :in => %w(www us ca jp),
:message => "Subdomain %{value} is reserved."
end
</ruby>