diff options
author | Eugene Kenny <elkenny@gmail.com> | 2017-12-20 01:09:23 +0000 |
---|---|---|
committer | Eugene Kenny <elkenny@gmail.com> | 2017-12-20 01:09:23 +0000 |
commit | 69d5a7439376401a6c832504aa73686e93da1bd3 (patch) | |
tree | 6c75bdb13cef872da33fd65661ac480e8c0eb12d /railties | |
parent | 08b9d8b3e05ef07a8f16245446cb62ca4f265dbb (diff) | |
download | rails-69d5a7439376401a6c832504aa73686e93da1bd3.tar.gz rails-69d5a7439376401a6c832504aa73686e93da1bd3.tar.bz2 rails-69d5a7439376401a6c832504aa73686e93da1bd3.zip |
Remove verbose_query_logs from new_framework_defaults_5_2.rb
The `app:update` rake task will regenerate `development.rb` so that it
contains this option; that means we're currently adding it to existing
apps in two places, which is unnecessary and confusing.
Also:
- Remove inaccurate comment about which stack frames are ignored
- Clarify that the feature uses `caller_locations`, not `caller`
- Remove unused return value in `extract_callstack`
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/config/initializers/new_framework_defaults_5_2.rb.tt | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/config/initializers/new_framework_defaults_5_2.rb.tt b/railties/lib/rails/generators/rails/app/templates/config/initializers/new_framework_defaults_5_2.rb.tt index 8351d849ec..ae665b960a 100644 --- a/railties/lib/rails/generators/rails/app/templates/config/initializers/new_framework_defaults_5_2.rb.tt +++ b/railties/lib/rails/generators/rails/app/templates/config/initializers/new_framework_defaults_5_2.rb.tt @@ -25,6 +25,3 @@ # Store boolean values are in sqlite3 databases as 1 and 0 instead of 't' and # 'f' after migrating old data. # Rails.application.config.active_record.sqlite3.represent_boolean_as_integer = true - -# Highlight code that triggered database queries in logs. -Rails.application.config.active_record.verbose_query_logs = Rails.env.development? |