Sha256: a32854d0e6fadea0e0b1d808d6bdea402daf2c4c9b5ed12360801b7e3fd7c651

Contents?: true

Size: 826 Bytes

Versions: 3

Compression:

Stored size: 826 Bytes

Contents

RailsApp::Application.configure do
  config.cache_classes = true
  config.eager_load = false

  if Rails.version > "5"
    config.public_file_server.enabled = true
    config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=3600' }
  else
    config.serve_static_files = true
    config.static_cache_control = 'public, max-age=3600'
  end

  config.consider_all_requests_local       = true
  config.action_controller.perform_caching = false

  config.action_dispatch.show_exceptions = false

  config.action_controller.allow_forgery_protection    = false

  config.action_mailer.delivery_method = :test
  config.action_mailer.default_url_options = { host: 'test.host' }

  config.active_support.deprecation = :stderr
  I18n.enforce_available_locales = false

  config.active_support.test_order = :sorted
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
devise_date_restrictable-1.0.0 test/rails_app/config/environments/test.rb
devise-security-0.11.1 test/dummy/config/environments/test.rb
devise-security-0.11.0 test/dummy/config/environments/test.rb