Hi, I''ve defined a constant environment.rb called RSS_EXPIRE_TIME. This controls after how many minutes the local cache of some RSS feed should expire. In development I would like the cache to never expire so I set it to 0 in environments/development.rb Ofcourse I get a warning in Webrick ./script/../config/../config/environment.rb:60: warning: already initialized constant RSS_EXPIRE_TIME I can use a global variable but a constant really seems the best fit for a configuration setting. Should I just pull it out of my default environment file and stick an individual entry in each environment file or is there a better way? Cheers, Jeroen -- 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 -~----------~----~----~----~------~----~------~--~---