Skip to content

Commit 294ded8

Browse files
committed
Explain each setting by itself when they are independent
1 parent 15817ff commit 294ded8

File tree

1 file changed

+3
-1
lines changed
  • railties/lib/rails/generators/rails/app/templates/config/environments

1 file changed

+3
-1
lines changed

railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@ Rails.application.configure do
99
# Eager load code on boot for better performance and memory savings (ignored by Rake tasks).
1010
config.eager_load = true
1111

12-
# Full error reports are disabled and caching is turned on.
12+
# Full error reports are disabled.
1313
config.consider_all_requests_local = false
1414
<%- unless options.api? -%>
15+
16+
# Turn on fragment caching in view templates.
1517
config.action_controller.perform_caching = true
1618
<%- end -%>
1719

0 commit comments

Comments
 (0)