test: enable verbose_query_logs

Helpful to known which line triggered a query
This commit is contained in:
Colin Darie 2022-08-02 11:44:07 +02:00
parent 3b699ac1cc
commit c94b3e9e52

View file

@ -55,6 +55,9 @@ Rails.application.configure do
# Tell Active Support which deprecation messages to disallow. # Tell Active Support which deprecation messages to disallow.
config.active_support.disallowed_deprecation_warnings = [] config.active_support.disallowed_deprecation_warnings = []
# Highlight code that triggered database queries in logs.
config.active_record.verbose_query_logs = true
# Raises error for missing translations. # Raises error for missing translations.
# config.i18n.raise_on_missing_translations = true # config.i18n.raise_on_missing_translations = true