aboutsummaryrefslogtreecommitdiffstats
path: root/railties/environments/production.rb
blob: 4fc13b05edd2ba975693ba507be1ed36799cc7ec (plain) (blame)
1
2
3
4
5
6
7
8
# The production environment is meant for finished, "live" apps.
# Code is not reloaded between requests, full error reports are disabled,
# and caching is turned on.

# Don't reload code; don't show full error reports; enable caching.
Dependencies.mechanism                             = :require
ActionController::Base.consider_all_requests_local = false
ActionController::Base.perform_caching             = true