diff --git a/config/initializers/rucaptcha.rb b/config/initializers/rucaptcha.rb index 79f546a..0b1917d 100644 --- a/config/initializers/rucaptcha.rb +++ b/config/initializers/rucaptcha.rb @@ -10,7 +10,7 @@ # But RuCaptcha requirements cache_store not in [:null_store, :memory_store, :file_store] # 默认:会从 Rails 配置的 cache_store 里面读取相同的配置信息,并尝试用可以运行的方式,用于存储验证码字符 # 但如果是 [:null_store, :memory_store, :file_store] 之类的,你可以通过下面的配置项单独给 RuCaptcha 配置 cache_store - self.cache_store = :memory_store + # self.cache_store = :memory_store # If you wants disable `cache_store` check warning, you can do it, default: false # 如果想要 disable cache_store 的 warning,就设置为 true,default false