configures the null cache store in all environments

This commit allows us to use caching and Rails.cache.
Temporarily we configure the null store in all environments,
but those will probably be memcached in the future.

References #235
This commit is contained in:
Juanjo Bazán
2015-08-24 18:51:28 +02:00
parent 0279c08792
commit 7edb45b0d7
5 changed files with 7 additions and 3 deletions

View File

@@ -55,7 +55,7 @@ Rails.application.configure do
# config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
# Use a different cache store in production.
# config.cache_store = :mem_cache_store
config.cache_store = :null_store
# Enable serving of images, stylesheets, and JavaScripts from an asset server.
# config.action_controller.asset_host = 'http://assets.example.com'