I have a model UserType that I reference in my application allot. This is stored in the database, but I don't want to hit the db everytime I reference the collection of UserTypes (it doesn't change unless I am re-deploying the code or db so it is safe to make static).
How can I load all the rows into a collection that I can then use in my application code as if it were a static collection? -- 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.