production.rb

来自「ruby on rails web敏捷开发之路第二版 源代码」· RB 代码 · 共 24 行

RB
24
字号
#---# Excerpted from "Agile Web Development with Rails, 2nd Ed."# We make no guarantees that this code is fit for any purpose. # Visit http://www.pragmaticprogrammer.com/titles/rails2 for more book information.#---# Settings specified here will take precedence over those in config/environment.rb# The production environment is meant for finished, "live" apps.# Code is not reloaded between requestsconfig.cache_classes = true# Use a different logger for distributed setups# config.logger = SyslogLogger.new# Full error reports are disabled and caching is turned onconfig.action_controller.consider_all_requests_local = falseconfig.action_controller.perform_caching             = true# Enable serving of images, stylesheets, and javascripts from an asset server# config.action_controller.asset_host                  = "http://assets.example.com"# Disable delivery errors if you bad email addresses should just be ignored# config.action_mailer.raise_delivery_errors = false

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?