fixed various error messages

This commit is contained in:
Mark Moser
2016-08-01 16:43:05 -05:00
parent df6175ce86
commit 4a20c579ed
4 changed files with 12 additions and 6 deletions

View File

@ -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