Set config.active_model.i18n_customize_full_message = true

Enables better error message customization
This commit is contained in:
Gregory Igelmund 2023-12-13 13:04:21 -05:00
parent 393914d35b
commit 6eb29bf6d4

View file

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