From: Rick DeNatale Date: 2007-04-30T11:13:10+09:00 Subject: Re: Class Level Variables On 4/29/07, Cory Wilkerson wrote: > +1 for Greg. It was an environment issue - meaning, when you're running > rails in development mode; you get continual class reloading; thusly - > no 'state' at the class level. And don't count on persistence in the production environment either. For one thing, it's likely that the deployment will eventually end up using something like mongrel_cluster, so each instance of the runtime will have it's own state, except for that shared through external means such as the database. -- Rick DeNatale My blog on Ruby http://talklikeaduck.denhaven2.com/