fixed various error messages
This commit is contained in:
1 parent
df6175ce86
commit
4a20c579ed
4 files changed
+12
-6
No files matched your search
@@ -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