On Aug 16, 4:23 pm, Frederick Cheung <[email protected]>
wrote:
> On Aug 16, 3:48 pm, Tomasz Romanowski <[email protected]> wrote:
>
> > I have two classes with class variables. One of them derives from active
> > record, the other one does not. I initialize both members to NULL, then
> > lazy-instantiate them. The class which does not derive from active
> > record preserves the value correctly. The class which does derive from
> > active record always seems to be re-setting it to NULL.
>
> Most classes in your app are reloaded between requests. Is this the
> problem ?

To clarify, that of course only happens in development

Fred

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to