Hi there!
After reading up in the wiki, I was wondering about adding a certain configuration variable to my rails app. What's the "best way to do it"? What are you using?
I'm coming from Django, where you have a settings object you import from django.conf.settings. This provides for a unique point to check on settings. It also makes it easy to fake settings for testing purposes using a mock'ed settings object.
What's the idea behind rails settings? Just global vars? A certain object's properties, like in django? Are they just vars "injected" into the environment? Where do I check and maybe alter the settings in runtime?
I'm aware that some of the above might not be "the path to light", but
my engineer mind needs to understand it all, how it works, in and out.
And rails is anything but transparent, with all that magic
Thanks everyone!