Sha256: 4236b2e1da457a9784221aee6542fdf37f2deb4c53ce3832b4d51156359ad0be

Contents?: true

Size: 1.06 KB

Versions: 3

Compression:

Stored size: 1.06 KB

Contents

require File.expand_path('../boot', __FILE__)

require 'rails/all'

Bundler.require(*Rails.groups)
require "cache_debugging"

module Dummy
  class Application < Rails::Application
    # Settings in config/environments/* take precedence over those specified here.
    # Application configuration should go into files in config/initializers
    # -- all .rb files in that directory are automatically loaded.

    # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
    # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
    # config.time_zone = 'Central Time (US & Canada)'

    # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
    # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
    # config.i18n.default_locale = :de
    config.action_controller.perform_caching = true
    config.cache_store = :memory_store
    config.cache_debugging.strict_dependencies = true
    config.cache_debugging.view_sampling = 0.01
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cache_debugging-0.1.1 test/dummy/config/application.rb
cache_debugging-0.1.0 test/dummy/config/application.rb
cache_debugging-0.0.1 test/dummy/config/application.rb