123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899 |
- 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.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present?
-
- config.assets.js_compressor = Uglifier.new({harmony: true})
-
-
- config.assets.compile = false
-
-
-
-
-
-
-
-
-
-
-
- config.force_ssl = true
-
-
- config.log_level = :debug
-
- config.log_tags = [ :request_id ]
-
-
-
-
-
- config.action_mailer.perform_caching = false
-
-
-
-
-
- config.i18n.fallbacks = true
-
- config.active_support.deprecation = :notify
-
- config.log_formatter = ::Logger::Formatter.new
-
-
-
- if ENV["RAILS_LOG_TO_STDOUT"].present?
- logger = ActiveSupport::Logger.new(STDOUT)
- logger.formatter = config.log_formatter
- config.logger = ActiveSupport::TaggedLogging.new(logger)
- end
-
- config.active_record.dump_schema_after_migration = false
- config.action_mailer.delivery_method = ENV['MAIL_METHOD'].to_sym
- config.action_mailer.smtp_settings = {
- address: ENV['SMTP_SERVER'],
- user_name: ENV['SMTP_USER'],
- password: ENV['SMTP_PASS'],
- authentication: :plain
- }
- config.action_mailer.mailgun_settings = {
- api_key: ENV['MAILGUN_API_KEY'],
- domain: ENV['MAILGUN_DOMAIN']
- }
- end
|