12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- Rails.application.configure do
-
-
-
-
- config.cache_classes = false
-
- config.eager_load = false
-
- config.consider_all_requests_local = true
-
- if Rails.root.join('tmp', 'caching-dev.txt').exist?
- config.action_controller.perform_caching = true
- config.cache_store = :memory_store
- config.public_file_server.headers = {
- 'Cache-Control' => 'public, max-age=172800'
- }
- else
- config.action_controller.perform_caching = false
- config.cache_store = :null_store
- end
-
- config.action_mailer.raise_delivery_errors = false
- config.action_mailer.perform_caching = false
-
- config.active_support.deprecation = :log
-
- config.active_record.migration_error = :page_load
-
-
-
- config.assets.debug = true
-
- config.assets.quiet = true
-
-
-
-
- config.file_watcher = ActiveSupport::EventedFileUpdateChecker
- 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
|