From 6eb29bf6d4cec8b6e4b503242e80a69647947745 Mon Sep 17 00:00:00 2001 From: Gregory Igelmund Date: Wed, 13 Dec 2023 13:04:21 -0500 Subject: [PATCH] Set config.active_model.i18n_customize_full_message = true Enables better error message customization --- config/application.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/application.rb b/config/application.rb index e568c8540..4517e8adf 100644 --- a/config/application.rb +++ b/config/application.rb @@ -35,6 +35,8 @@ module OpenStreetMap # Enable locale fallbacks for I18n (makes lookups for any locale fall back to # the I18n.default_locale when a translation cannot be found). config.i18n.fallbacks = true + # Enables custom error message formats + config.active_model.i18n_customize_full_message = true # Use logstash for logging if required if Settings.key?(:logstash_path) -- 2.39.5