Christian Schlaefcke wrote:
the first places I can think of are environment.rb and application.rb. I just wonder if these files should be used to configure the rails environment or plugins/engines.
If the common way is to do it with environment.rb and application.rb my next question is: how do I access a simple param in environment.rb like "application_name = "My fency rails app" in my application.rb?
Hmmm, just a thought: Could it be done with YAML, maybe?
Have a look at this:
http://www.realityforge.org/articles/2006/02/28/flexible-application-configuration-in-rails
Regards, Andy Stewart