Using Dynamic Config Variables in Ruby on Rails Apps
07-Oct-2021 1179
Config variables should never be embedded directly in the codebase. It is a common practice to extract them into a separate configuration layer. A standard approach for Ruby on Rails apps is to use static ENV variables that can only be changed via a release process. In this blog post, I’ll describe the use cases for using dynamic config variables that can be modified on the fly. I’ll also share a simple way to start using them in your app without including additional gem dependencies.
Using Dynamic Config Variables in Ruby on Rails Apps #ruby #rubydeveloper #rubyonrails #Using #Dynamic #Config #Variables #Rails https://rubyonrails.ba/link/using-dynamic-config-variables-in-ruby-on-rails-apps