test: enable verbose_query_logs
Helpful to known which line triggered a query
This commit is contained in:
parent
3b699ac1cc
commit
c94b3e9e52
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue