简体   繁体   中英

Caching configs in Spree ruby gem

When I update spree config via admin panel Spree::Config[some_key] = some_value it overwrites the value in a spree_preferences table, but also store previous versions of value and use all these versions. Rails.cache.clear do not help. But restart a unicorn helped me.

Where are these versions stored? How can I explicitly reset the cached values ​​in the code?

问题出在独角兽工人的缓存上。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM