Hi All,
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,
John
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---