> Ah, but they are not equivalent because AC::Base#subclasses includes > names of non-reachable class objects, whereas Class#subclasses filters > them out.
This difference is probably just to enable reset_subclasses to work around the ruby memory-leak discussed at length on: http://rails.lighthouseapp.com/projects/8994/tickets/1339-arbase-should-not-be-nuking-its-children-just-because-it-lost-interest There's no reason that the AR version can't be called something else and move subclasses to be the same everywhere. -- Cheers Koz
-- 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.
