Update the email validator to Rails 3 conventions.