rails-settings-cached icon indicating copy to clipboard operation
rails-settings-cached copied to clipboard

Global settings for your Rails application.

Results 8 rails-settings-cached issues
Sort by recently updated
recently updated
newest added

Referencing `ActiveRecord::Base` as soon as the gem is required cause Active Record being loaded earlier than it should and some Rails configurations not to take effect. Ref: https://github.com/rails/rails/issues/49827 Ref: https://github.com/mastodon/mastodon/pull/28609...

## Quick an easy ActiveAdmin interface This is an [ActiveAdmin](http://activeadmin.info/) extension to add the interface to handle [rails-setting-cached](https://github.com/huacnlee/rails-settings-cached) v2. For prior version I was using [activeadmin_setting_cached](https://github.com/artofhuman/activeadmin_settings_cached) but seems to be...

Thanks for this gem. I’ve found it very helpful. I run into a problem with it though when working with a field of type hash. With the example given in...

Hey @huacnlee - I'm upgrading an app (slowly) to Rails 7, and in Rails 6.1.6.1, I'm getting the following error ```ruby /Users/cweilemann/Projects/app/config/environments/production.rb:99:in `block in ': uninitialized constant Setting (NameError) Did...

Currently, cache expiration is hard coded to 1 week. This could be too long, or too short, depending application. The feature of automatically refresh cache when the value is updated...

[ActiveRecord::Store](https://api.rubyonrails.org/classes/ActiveRecord/Store.html)

Hi huacnlee, Thanks for your gem, it's quite handy, But there is a potential issue here. In the code here `https://github.com/huacnlee/rails-settings-cached/blob/main/lib/rails-settings/base.rb#L157` the method will rescue all the errors. It would...

Hello, first of all, good stuff with this gem! Very useful making global app settings dynamic, but also to quickly create a single variable to "remember" something. Props to all...

Idea