1 Pettanr::Application.configure do
4 config.force_ssl = true
7 # Settings specified here will take precedence over those in config/application.rb
8 config.assets.precompile += %w( *.css *.js )
10 # Code is not reloaded between requests
11 config.cache_classes = true
13 # Full error reports are disabled and caching is turned on
14 config.consider_all_requests_local = false
15 config.action_controller.perform_caching = true
17 # Disable Rails's static asset server (Apache or nginx will already do this)
19 # assets files can't find at production mode
20 # http://blog.livedoor.jp/maru_tak/archives/51247889.html
21 #config.serve_static_assets = false
23 # Compress JavaScripts and CSS
24 config.assets.compress = true
26 # Don't fallback to assets pipeline if a precompiled asset is missed
27 config.assets.compile = false
29 # Generate digests for assets URLs
30 config.assets.digest = true
32 # Defaults to Rails.root.join("public/assets")
33 # config.assets.manifest = YOUR_PATH
35 # Specifies the header that your server uses for sending files
36 # config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
37 # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
39 # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
40 # config.force_ssl = true
42 # See everything in the log (default is :info)
43 # config.log_level = :debug
45 # Use a different logger for distributed setups
46 # config.logger = SyslogLogger.new
48 # Use a different cache store in production
49 # config.cache_store = :mem_cache_store
51 # Enable serving of images, stylesheets, and JavaScripts from an asset server
52 # config.action_controller.asset_host = "http://assets.example.com"
54 # Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
55 # config.assets.precompile += %w( search.js )
57 # Disable delivery errors, bad email addresses will be ignored
58 # config.action_mailer.raise_delivery_errors = false
60 # Enable threaded mode
63 # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
64 # the I18n.default_locale when a translation can not be found)
65 config.i18n.fallbacks = true
67 # Send deprecation notices to registered listeners
68 config.active_support.deprecation = :notify
69 config.eager_load = true
70 config.active_record.migration_error = :page_load