怎么叫沉默! 在dalli cache_store上?

我正在尝试在开发模式下使用缓存开发应用程序,但是发送垃圾邮件的开发日志主要是缓存日志。 我用dalli,我知道,dalli沉默了! 方法(https://github.com/mperham/dalli/commit/892020fbc73613ccc84412ce04b85b7fda645e63),但如何使用此方法?

我发现了一些旧的指令,建议在config.cache_store上调用它,但它是一个符号,并且没有这个方法:

 config.cache_store = :dalli_store config.cache_store.silence! 

引发exception。

试着打电话#silence!Rails.cache