Skip to content

Commit fdf73e1

Browse files
committed
Add document config.active_record.verbose_query_logs into Configuring Rails Applications [skip ci]
1 parent f2be2b0 commit fdf73e1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

guides/source/configuring.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -760,6 +760,10 @@ Define the list of table that should be ignored when generating the schema
760760
cache. It accepts an `Array` of strings, representing the table names, or
761761
regular expressions.
762762

763+
#### `config.active_record.verbose_query_logs`
764+
765+
Specifies if source locations of methods that call database queries should be logged below relevant queries. By default, the flag is `true` in development and `false` in all other environments.
766+
763767
#### `ActiveRecord::ConnectionAdapters::Mysql2Adapter.emulate_booleans`
764768

765769
Controls whether the Active Record MySQL adapter will consider all `tinyint(1)` columns as booleans. Defaults to `true`.

0 commit comments

Comments
 (0)