Sha256: 305a606fa6f72d04e6d1061665d6c89b3b1365e120106c58c5e1c25bf8de30f4

Contents?: true

Size: 1.29 KB

Versions: 24

Compression:

Stored size: 1.29 KB

Contents

require 'active_support/core_ext/integer/time'

Rails.application.configure do
  config.cache_classes = true
  config.eager_load = false

  # Configure public file server for tests with Cache-Control for performance.
  config.public_file_server.enabled = true
  config.public_file_server.headers = {
    'Cache-Control' => "public, max-age=#{1.hour.to_i}"
  }

  # Show full error reports and disable caching.
  config.consider_all_requests_local       = true
  config.action_controller.perform_caching = false
  config.cache_store = :null_store

  # Raise exceptions instead of rendering exception templates.
  config.action_dispatch.show_exceptions = false

  # Disable request forgery protection in test environment.
  config.action_controller.allow_forgery_protection = false

  # Print deprecation notices to the stderr.
  config.active_support.deprecation = :stderr

  # Raise exceptions for disallowed deprecations.
  config.active_support.disallowed_deprecation = :raise

  # Tell Active Support which deprecation messages to disallow.
  config.active_support.disallowed_deprecation_warnings = []

  # Raises error for missing translations.
  config.i18n.raise_on_missing_translations = true

  # Annotate rendered view with file names.
  # config.action_view.annotate_rendered_view_with_filenames = true
end

Version data entries

24 entries across 24 versions & 2 rubygems

Version Path
scimitar-2.11.0 spec/apps/dummy/config/environments/test.rb
scimitar-2.10.0 spec/apps/dummy/config/environments/test.rb
scimitar-2.9.0 spec/apps/dummy/config/environments/test.rb
scimitar-2.8.0 spec/apps/dummy/config/environments/test.rb
scimitar-2.7.3 spec/apps/dummy/config/environments/test.rb
powerhome-scimitar-1.0.0 spec/apps/dummy/config/environments/test.rb
scimitar-2.7.2 spec/apps/dummy/config/environments/test.rb
scimitar-2.7.1 spec/apps/dummy/config/environments/test.rb
scimitar-2.7.0 spec/apps/dummy/config/environments/test.rb
scimitar-2.6.1 spec/apps/dummy/config/environments/test.rb
scimitar-2.6.0 spec/apps/dummy/config/environments/test.rb
scimitar-2.5.0 spec/apps/dummy/config/environments/test.rb
scimitar-2.4.3 spec/apps/dummy/config/environments/test.rb
scimitar-2.4.2 spec/apps/dummy/config/environments/test.rb
scimitar-2.4.1 spec/apps/dummy/config/environments/test.rb
scimitar-2.4.0 spec/apps/dummy/config/environments/test.rb
scimitar-2.3.0 spec/apps/dummy/config/environments/test.rb
scimitar-2.2.0 spec/apps/dummy/config/environments/test.rb
scimitar-2.1.3 spec/apps/dummy/config/environments/test.rb
scimitar-2.1.1 spec/apps/dummy/config/environments/test.rb