fixed various error messages
This commit is contained in:
@ -10,7 +10,7 @@ class EmailFormatValidator < ActiveModel::EachValidator
|
||||
end
|
||||
|
||||
if results.include?(false)
|
||||
record.errors[attribute] << (options[:message] || "is not formatted properly: #{value}")
|
||||
record.errors[attribute] << (options[:message] || "is not formatted properly")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user