【发布时间】:2013-06-16 08:57:31
【问题描述】:
找不到配置 identity_cache 以使用 dalli 的文档。谁能告诉我这是怎么做到的?
我在config/environments/development.rb 中尝试过(我想先在开发环境中尝试):
config.identity_cache_store = :mem_cache_store, ActiveSupport::Cache::DalliStore.new(servers: ["mem"])
当我启动rails时,我看到了这个错误:
uninitialized constant ActiveSupport::Cache::DalliStore (NameError)
【问题讨论】:
标签: ruby-on-rails memcached dalli