README.md in rails-settings-cached-2.9.4 vs README.md in rails-settings-cached-2.9.5
- old
+ new
@@ -463,10 +463,22 @@
<%= f.submit 'Update Settings' %>
</div>
<% end %>
```
+## Special Cache Storage
+
+You can use `cache_store` to change cache storage, default is `Rails.cache`.
+
+Add `config/initializers/rails_settings.rb`
+
+```rb
+RailsSettings.configure do
+ self.cache_storage = ActiveSupport::Cache::RedisCacheStore.new(url: "redis://localhost:6379")
+end
+```
+
## Scoped Settings
> 🚨 BREAK CHANGES WARNING:
> rails-settings-cached 2.x has redesigned the API, the new version will compatible with the stored setting values by an older version.
> When you want to upgrade 2.x, you must read the README again, and follow guides to change your Setting model.
@@ -503,8 +515,8 @@
- [getzealot/zealot](https://github.com/getzealot/zealot) - 2.x
- [kaishuu0123/rebacklogs](https://github.com/kaishuu0123/rebacklogs) - 2.x
- [texterify/texterify](https://github.com/texterify/texterify) - 2.x
- [mastodon/mastodon](https://github.com/mastodon/mastodon) - 0.6.x
- [helpyio/helpy](https://github.com/helpyio/helpy) - 0.5.x
-- [daqing/rabel](https://github.com/daqing/rabel) - 0.4.x
+- [maybe-finance/maybe](https://github.com/maybe-finance/maybe) - 2.x
And more than [1K repositories](https://github.com/huacnlee/rails-settings-cached/network/dependents) used.