diff options
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 |