Flowdock
method

new

Importance_0
v3.1.0 - Show latest stable - 0 notes - Class: Rails::Application::Configuration
new(*) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/rails/application/configuration.rb, line 16
      def initialize(*)
        super
        self.encoding = "utf-8"
        @allow_concurrency           = false
        @consider_all_requests_local = false
        @filter_parameters           = []
        @helpers_paths               = []
        @dependency_loading          = true
        @serve_static_assets         = true
        @static_cache_control        = nil
        @force_ssl                   = false
        @session_store               = :cookie_store
        @session_options             = {}
        @time_zone                   = "UTC"
        @log_level                   = nil
        @middleware                  = app_middleware
        @generators                  = app_generators
        @cache_store                 = [ :file_store, "#{root}/tmp/cache/" ]

        @assets = ActiveSupport::OrderedOptions.new
        @assets.enabled         = false
        @assets.paths           = []
        @assets.precompile      = [ /\w+\.(?!js|css).+/, /application.(css|js)$/ ]
        @assets.prefix          = "/assets"
        @assets.version         = ''
        @assets.debug           = false
        @assets.compile         = true
        @assets.digest          = false
        @assets.manifest        = "#{root}/public#{@assets.prefix}"
        @assets.cache_store     = [ :file_store, "#{root}/tmp/cache/assets/" ]
        @assets.js_compressor   = nil
        @assets.css_compressor  = nil
      end
Register or log in to add new notes.