I need to have a variable that points to a MemCache instance so I looked at the Rails caching code to see how they do it. They use a Ruby class variable (or a few of them). That surprised me since class variables in Ruby as so gnarly. I thought I would post the question here to see if anyone knew / had an opinion. Why would they use a class variable instead of a class instance variable? Especially since Rails has some nice support for class instance variables. I''m asking because if there is a reason, I''d like to know so I could avoid whatever problems the Rails guys are trying to avoid. Thank you, Perry -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.