Global app settings with gem rails-settings-cached #224

13/01/2025
Gem
  • different approaches to app settings
  • install gem rails-settings-cached
  • Admin UI

Allow admin users to change global app settings like app name, contact email.

With this gem you store settings in the database, and have a UI to change settings.

This way, developers do not have to change code and re-deploy the app when configurations change.

It's amazing that you can use Setting before Rails is initialized. Meaning, you can maybe even let admins edit API keys!

0:00 different approaches to app settings
1:57 install gem rails-settings-cached
4:30 Admin UI

0
Join the conversation
Sign in to access PRO lessons, access private repos, leave comments, create watch lists.
We collect your email address, name and username to create your account. We do not share your email address with anyone else.