I am looking at dynamically loading configuration of rails app depending
on a flag that is being passed to the app through the HTTP header. The
config is stored in a database table. Depending on the value received in
the header, a model will make a call to the db and load up the config
into the session. Is this best practice for loading config from db? Does
anyone have a suggestion for doing this a better way?
Thanks in advance,