Hello,

I was wondering if there is a right way to keep some static arrays of
data inside the application. I want to be able to access them
globally. (it's not for setting vars, just simple arrays, i.e. ['ICQ',
'AIM', 'GTALK'] etc). Also I don't wan't to use a database for that,
need a hardcoded option.

Read o the forum, that some people use environment.rb, but wasn't sure
about that. I would like to have a separate file for each array of
data, but what is the best practise for that? Just create rb files in
a separate folder?
--~--~---------~--~----~------------~-------~--~----~
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@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to