Sha256: 71b5eab792c231235b16affd6f0ca25983946763178318bf90380cf73e52eafd

Contents?: true

Size: 1.2 KB

Versions: 7

Compression:

Stored size: 1.2 KB

Contents

Rails.application.configure do
  # Verifies that versions and hashed value of the package contents in the project's package.json
  # config.webpacker.check_yarn_integrity = true
  # Settings specified here will take precedence over those in config/application.rb.

  # In the development environment your application's code is reloaded on
  # every request. This slows down response time but is perfect for development
  # since you don't have to restart the web server when you make code changes.
  config.cache_classes = false

  # Do not eager load code on boot.
  config.eager_load = false

  # Show full error reports.
  config.consider_all_requests_local = true

  # Enable/disable caching. By default caching is disabled.
  # Run rails dev:cache to toggle caching.
  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=#{2.days.to_i}"
    }
  else
    config.action_controller.perform_caching = false

    config.cache_store = :null_store
  end

  # Print deprecation notices to the Rails logger.
  config.active_support.deprecation = :log
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
turbo-rails-0.5.3 test/dummy/config/environments/development.rb
turbo-rails-0.5.2 test/dummy/config/environments/development.rb
turbo-rails-0.5.1 test/dummy/config/environments/development.rb
turbo-rails-0.5.0 test/dummy/config/environments/development.rb
full_request_logger-0.3.1 test/dummy/config/environments/development.rb
full_request_logger-0.3 test/dummy/config/environments/development.rb
full_request_logger-0.2 test/dummy/config/environments/development.rb