Want to load a configuration from a yaml file ala config/database.yml. I am following http://blog.innovativethought.net/2009/01/02/making-configuration-files-with-yaml-revised/ but, I am getting uninitialized constant ActionView::CompiledTemplates::DOMAIN_CONFIG from rails. I’ve documented my code to make this simpler. I’m running Rails 3.0.7
I know isn’t the toughest question but, I would also like to know why isn’t that constant available in the views? Do I have to wrap that constant in a Ruby object of some sort? I’m just looking for the best way to do this.