Skip to content

Instantly share code, notes, and snippets.

@yamaaki
Created August 11, 2015 05:35
Show Gist options
  • Save yamaaki/250cf23f6448afbfb699 to your computer and use it in GitHub Desktop.
Save yamaaki/250cf23f6448afbfb699 to your computer and use it in GitHub Desktop.
Rails.application.configure do
config.cache_classes = true
config.eager_load = true
config.consider_all_requests_local = false
config.action_controller.perform_caching = true
config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
config.assets.js_compressor = :uglifier
config.assets.compile = false
config.assets.digest = true
config.log_level = :debug
config.i18n.fallbacks = true
config.active_support.deprecation = :notify
config.log_formatter = ::Logger::Formatter.new
config.active_record.dump_schema_after_migration = false
config.action_mailer.default_url_options = { host: 'localhost' }
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment