|
12 | 12 | config.eager_load = false
|
13 | 13 |
|
14 | 14 | # Show full error reports.
|
15 |
| - # Set this `false` for quick debugging and the set back to `true`. |
16 | 15 | config.consider_all_requests_local = true
|
17 |
| - #config.consider_all_requests_local = false |
| 16 | + |
| 17 | + # Enable server timing |
| 18 | + config.server_timing = true |
18 | 19 |
|
19 | 20 | # Enable/disable caching. By default caching is disabled.
|
20 | 21 | # 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? |
22 | 23 | config.action_controller.perform_caching = true
|
23 | 24 | config.action_controller.enable_fragment_cache_logging = true
|
24 | 25 |
|
|
55 | 56 | # Highlight code that triggered database queries in logs.
|
56 | 57 | config.active_record.verbose_query_logs = true
|
57 | 58 |
|
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 |
| - |
63 | 59 | # Suppress logger output for asset requests.
|
64 | 60 | config.assets.quiet = true
|
65 | 61 |
|
|
69 | 65 | # Annotate rendered view with file names.
|
70 | 66 | # config.action_view.annotate_rendered_view_with_filenames = true
|
71 | 67 |
|
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 |
| - |
76 | 68 | # Uncomment if you wish to allow Action Cable access from any origin.
|
77 | 69 | # config.action_cable.disable_request_forgery_protection = true
|
78 | 70 |
|
|
0 commit comments