From: Phrogz Date: 2007-09-22T12:10:04+09:00 Subject: Re: Class variables On Sep 21, 6:32 pm, Perry Smith wrote: > I must have a fundamental misunderstanding of Ruby. I am hoping someone > here can help. This is the essence of what I am doing. I am doing this > inside Ruby On Rails so it may be that Rails is doing something I don't > know about. But here is what I am doing: Please search the mailing list archives, and/or read the (free) online books about it. You will find many, many discussions over how class variables work when inheritance is involved (hint: they're shared), and many, many suggestions that in most cases you really want class instance variables (which are not shared between parent/subclasses).