diff options
author | Louise Crow <louise.crow@gmail.com> | 2015-05-07 15:49:32 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2015-05-07 15:49:32 +0100 |
commit | cc5dd55a9bd55dbba4dd239d3334493bae2cb3bf (patch) | |
tree | 7903ede99984d149d2fa343877e4fc1670a41b22 /config/application.rb | |
parent | da95c03f9f224ded9e0e3bda2635bcf4f63faf5d (diff) | |
parent | f75b1de52432018c19d9fce04b1127ab114df0ea (diff) |
Merge branch 'version-dependent-caching' into rails-3-develop
Diffstat (limited to 'config/application.rb')
-rw-r--r-- | config/application.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config/application.rb b/config/application.rb index 472077f06..46c4eb93b 100644 --- a/config/application.rb +++ b/config/application.rb @@ -60,7 +60,8 @@ module Alaveteli config.time_zone = ::AlaveteliConfiguration::time_zone # Set the cache to use a memcached backend - config.cache_store = :mem_cache_store, { :namespace => AlaveteliConfiguration::domain } + config.cache_store = :mem_cache_store, + { :namespace => "#{AlaveteliConfiguration::domain}_#{RUBY_VERSION}" } config.action_dispatch.rack_cache = nil config.after_initialize do |app| |