1 # Settings specified here will take precedence over those in config/environment.rb
3 # The production environment is meant for finished, "live" apps.
4 # Code is not reloaded between requests
5 config.cache_classes = true
7 # Use a different logger for distributed setups
8 # config.logger = SyslogLogger.new
9 config.logger = Logger.new("#{RAILS_ROOT}/log/#{RAILS_ENV}.log", 'daily')
11 # Full error reports are disabled and caching is turned on
12 #config.action_controller.consider_all_requests_local = false
13 config.action_controller.consider_all_requests_local = true # TODO テストが終わったら戻すこと
14 config.action_controller.perform_caching = true
15 config.action_view.cache_template_loading = true
17 # Use a different cache store in production
18 # config.cache_store = :mem_cache_store
19 config.cache_store = :file_store, "#{RAILS_ROOT}/tmp/cache"
21 # Enable serving of images, stylesheets, and javascripts from an asset server
22 # config.action_controller.asset_host = "http://assets.example.com"
24 # Disable delivery errors, bad email addresses will be ignored
25 config.action_mailer.raise_delivery_errors = false
27 ActionMailer::Base.delivery_method = :smtp
28 ActionMailer::Base.smtp_settings = {
29 :domain => 'localhost',
30 :address => 'localhost',
33 ActionMailer::Base.default_charset = 'iso-2022-jp'
35 config.log_level = :debug