У Чцв, 06/11/2008 у 20:40 +0000, Tom Lea піша:
> == What should happen (IMHO): ==
> 
> Removing the references to classes in @@subclasses should be enough to  
> allow garbage collection to do the good stuff when the relevant  
> constants (that refer to the classes) are removed.
> 
> This way, any objects that are still referencing those classes (you  
> know, like when they are an instance of them), can still operate  
> without unnecessary loss of organs.
> 
If I understand correctly this means that old versions of code will
remain. I think that better approach is to provide better explanations
of what's going on, so that people don't try to preserve instances or
classes between requests. We can do so by defining #method_missing on
zombie classes. What do you think ?

-- 
Aliaksey Kandratsenka <[EMAIL PROTECTED]>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" 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-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to