> > Are you sure that's what subclasses_of does? I know that > > there's definitely a method on ActiveRecord::Base that > keeps track of > > subclasses as their created - maybe it's called something > > else - descendants maybe? - I can't remember, but I'm pretty sure it > > exists. > > lounge groggy # ruby script/console > Loading development environment. > >> Page.descendants
Well, that's just an alias for subclasses_of. I found the code that I remembered seeing - it was for tracking of subclasses by observers - where for some reason the list of subclasses is stored by each observer rather than by the observee. Dan. _______________________________________________ Radiant mailing list Post: [email protected] Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
