annotate config/environments/demo.rb @ 8:0c83d98252d9 yuya

* Add custom repo prefix and proper auth realm, remove auth cache (seems like an unwise feature), pass DB handle around, various other bits of tidying
author Chris Cannam
date Thu, 12 Aug 2010 15:31:37 +0100
parents 513646585e45
children
rev   line source
Chris@0 1 # Settings specified here will take precedence over those in config/environment.rb
Chris@0 2
Chris@0 3 # The production environment is meant for finished, "live" apps.
Chris@0 4 # Code is not reloaded between requests
Chris@0 5 config.cache_classes = true
Chris@0 6
Chris@0 7 # Use a different logger for distributed setups
Chris@0 8 # config.logger = SyslogLogger.new
Chris@0 9 config.log_level = :info
Chris@0 10
Chris@0 11 # Full error reports are disabled and caching is turned on
Chris@0 12 config.action_controller.consider_all_requests_local = false
Chris@0 13 config.action_controller.perform_caching = true
Chris@0 14
Chris@0 15 # Enable serving of images, stylesheets, and javascripts from an asset server
Chris@0 16 # config.action_controller.asset_host = "http://assets.example.com"
Chris@0 17
Chris@0 18 # Disable mail delivery
Chris@0 19 config.action_mailer.perform_deliveries = false
Chris@0 20 config.action_mailer.raise_delivery_errors = false
Chris@0 21