method

cache_store

rails latest stable - Class: Rails::Application::Configuration

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.0.0) is shown here.

cache_store()
public

No documentation available.

# File railties/lib/rails/application/configuration.rb, line 89
      def cache_store
        @cache_store ||= begin
          if File.exist?("#{root}/tmp/cache/")
            [ :file_store, "#{root}/tmp/cache/" ]
          else
            :memory_store
          end
        end
      end