Thanks for you replies. I would be very grateful if you could give me an example of how to store it in the model... Should I create local collection, or define a method for it? Also how would I access this data from a controller?
On Nov 6, 2:06 am, bill walton <[email protected]> wrote: > Hi, > > On Thu, 2009-11-05 at 17:55 -0800, Zovar wrote: > > Hello, > > > I was wondering if there is a right way to keep some > > static arrays of data inside the application. > > I'd consider storing them in the models to which they relate. If they > need their own models, that's easy too. The models don't have to > inherit from ActiveRecord. > > HTH, > Bill --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

