We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b61d00 commit 0469e1fCopy full SHA for 0469e1f
1 file changed
config/environments/development.rb
@@ -12,9 +12,11 @@
12
# Do not eager load code on boot.
13
config.eager_load = false
14
15
- # Show full error reports and disable caching.
+ # Set this to +true+ unless you want to skip exceptions_app:
16
+ config.consider_all_requests_local = false
17
+
18
+ # Controller caching (+false+ by default, can be overridden via the env variable):
19
perform_caching = ActiveRecord::Type::Boolean.new.cast(ENV['PERFORM_CACHING'])
- config.consider_all_requests_local = true
20
config.action_controller.perform_caching = perform_caching || false
21
Rack::MiniProfiler.config.disable_caching = !perform_caching
22
0 commit comments