Skip to content
Newer
Older
100644 33 lines (24 sloc) 1.13 KB
d982fe2 Replace reopening the class with App.configure as an alias to class_eval
Carlhuda authored
1 <%= app_const %>.configure do
b0b4ae9 test.rb, dev.rb, and production.rb just reopen the Application class;…
Carlhuda authored
2 # Settings specified here will take precedence over those in config/environment.rb
3
4 # The production environment is meant for finished, "live" apps.
5 # Code is not reloaded between requests
6 config.cache_classes = true
7
8 # Full error reports are disabled and caching is turned on
9 config.action_controller.consider_all_requests_local = false
10 config.action_controller.perform_caching = true
11
12 # See everything in the log (default is :info)
13 # config.log_level = :debug
14
15 # Use a different logger for distributed setups
16 # config.logger = SyslogLogger.new
17
18 # Use a different cache store in production
19 # config.cache_store = :mem_cache_store
20
21 # Disable Rails's static asset server
22 # In production, Apache or nginx will already do this
23 config.serve_static_assets = false
24
25 # Enable serving of images, stylesheets, and javascripts from an asset server
26 # config.action_controller.asset_host = "http://assets.example.com"
27
28 # Disable delivery errors, bad email addresses will be ignored
29 # config.action_mailer.raise_delivery_errors = false
30
31 # Enable threaded mode
32 # config.threadsafe!
33 end
Something went wrong with that request. Please try again.