diff options
author | CassioMarques <cassiommc@gmail.com> | 2008-12-28 21:49:33 -0200 |
---|---|---|
committer | CassioMarques <cassiommc@gmail.com> | 2008-12-28 21:49:33 -0200 |
commit | 006a640fc4dff5a7a0ea471fb904dd27068b6545 (patch) | |
tree | acf2923a06e32b6b7a77bdfc40815789d21794f9 /railties/doc/guides/source | |
parent | 495c7109fee3f61a227c0ef8c820bd9bc009c2d8 (diff) | |
download | rails-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.txt | 2 |
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 |