aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/validators
diff options
context:
space:
mode:
Diffstat (limited to 'activemodel/test/validators')
-rw-r--r--activemodel/test/validators/email_validator.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/activemodel/test/validators/email_validator.rb b/activemodel/test/validators/email_validator.rb
index 9b74d83b37..f733c45cf0 100644
--- a/activemodel/test/validators/email_validator.rb
+++ b/activemodel/test/validators/email_validator.rb
@@ -1,4 +1,3 @@
-
class EmailValidator < ActiveModel::EachValidator
def validate_each(record, attribute, value)
record.errors[attribute] << (options[:message] || "is not an email") unless