I need to load some read-only lookup data from the database into memory
for fast access (i.e. caching). What’s the best way to cache data in
memory in Rails apps? For example, should I use global, class or
instance variables? I realize each controller in my cluster will have
it’s own copy, which is fine.
Thanks in advance.