aboutsummaryrefslogtreecommitdiffstats
path: root/railties/doc/guides/source
diff options
context:
space:
mode:
authorCassioMarques <cassiommc@gmail.com>2008-12-28 21:49:33 -0200
committerCassioMarques <cassiommc@gmail.com>2008-12-28 21:49:33 -0200
commit006a640fc4dff5a7a0ea471fb904dd27068b6545 (patch)
treeacf2923a06e32b6b7a77bdfc40815789d21794f9 /railties/doc/guides/source
parent495c7109fee3f61a227c0ef8c820bd9bc009c2d8 (diff)
downloadrails-006a640fc4dff5a7a0ea471fb904dd27068b6545.tar.gz
rails-006a640fc4dff5a7a0ea471fb904dd27068b6545.tar.bz2
rails-006a640fc4dff5a7a0ea471fb904dd27068b6545.zip
Fixed error message that was written in portuguese instead of english...
Diffstat (limited to 'railties/doc/guides/source')
-rw-r--r--railties/doc/guides/source/activerecord_validations_callbacks.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/doc/guides/source/activerecord_validations_callbacks.txt b/railties/doc/guides/source/activerecord_validations_callbacks.txt
index 9acda5f42e..f539aface0 100644
--- a/railties/doc/guides/source/activerecord_validations_callbacks.txt
+++ b/railties/doc/guides/source/activerecord_validations_callbacks.txt
@@ -426,7 +426,7 @@ module ActiveRecord
validates_format_of value,
:with => /\A[\w\._%-]+@[\w\.-]+\.[a-zA-Z]{2,4}\z/,
:if => Proc.new { |u| !u.email.blank? },
- :message => "Formato de email incorreto"
+ :message => "Invalid format for email address"
end
end
end