Skip to content

Instantly share code, notes, and snippets.

@latortuga
Created March 2, 2012 22:11
Show Gist options
  • Select an option

  • Save latortuga/1961744 to your computer and use it in GitHub Desktop.

Select an option

Save latortuga/1961744 to your computer and use it in GitHub Desktop.
MyApp::Application.configure do
config.cache_classes = true
config.consider_all_requests_local = false
config.action_controller.perform_caching = true
config.action_dispatch.x_sendfile_header = "X-Sendfile"
config.cache_store = :dalli_store
config.serve_static_assets = false
config.action_mailer.default_url_options = { :host => "mydomain.com" }
config.i18n.fallbacks = true
config.active_support.deprecation = :notify
config.middleware.use ExceptionNotifier, :exception_recipients => %w(exceptions@mydomain.com)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment