In the spirit of keeping my app DRY, i would like to store an array of
strings, and call this array in a few views and possibly in my
controller.

Where is the best place to declare an application wide static variable?
And is this possible?

array = ['why should', 'I have to copy this', 'every time i want to use
it']
-- 
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to