adjust error message

This commit is contained in:
Pete Matsyburka committed 2024-10-22 18:18:14 +03:00
1 parent 3f03d343ca
commit babaf1aa48
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -75,7 +75,7 @@ module Params
return
end
raise_error(message || "#{key} must follow the email format")
raise_error(message || "#{key} must follow the email format: '#{params[key]}'")
end
def unique_value(params, key, message: nil)