Skip to content

Commit 29b52bc

Browse files
committed
app:update config/environments/development.rb
1 parent 1d3a5d1 commit 29b52bc

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

config/environments/development.rb

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,14 @@
1212
config.eager_load = false
1313

1414
# Show full error reports.
15-
# Set this `false` for quick debugging and the set back to `true`.
1615
config.consider_all_requests_local = true
17-
#config.consider_all_requests_local = false
16+
17+
# Enable server timing
18+
config.server_timing = true
1819

1920
# Enable/disable caching. By default caching is disabled.
2021
# Run rails dev:cache to toggle caching.
21-
if Rails.root.join('tmp', 'caching-dev.txt').exist?
22+
if Rails.root.join('tmp/caching-dev.txt').exist?
2223
config.action_controller.perform_caching = true
2324
config.action_controller.enable_fragment_cache_logging = true
2425

@@ -55,11 +56,6 @@
5556
# Highlight code that triggered database queries in logs.
5657
config.active_record.verbose_query_logs = true
5758

58-
# Debug mode disables concatenation and preprocessing of assets.
59-
# This option may cause significant delays in view rendering with a large
60-
# number of complex assets.
61-
config.assets.debug = true
62-
6359
# Suppress logger output for asset requests.
6460
config.assets.quiet = true
6561

@@ -69,10 +65,6 @@
6965
# Annotate rendered view with file names.
7066
# config.action_view.annotate_rendered_view_with_filenames = true
7167

72-
# Use an evented file watcher to asynchronously detect changes in source code,
73-
# routes, locales, etc. This feature depends on the listen gem.
74-
config.file_watcher = ActiveSupport::EventedFileUpdateChecker
75-
7668
# Uncomment if you wish to allow Action Cable access from any origin.
7769
# config.action_cable.disable_request_forgery_protection = true
7870

0 commit comments

Comments
 (0)