[Radiant] Alias Page Extension
Daniel Sheppard
daniels at thegroggysquirrel.com
Tue Mar 13 21:54:50 CDT 2007
> > 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.
More information about the Radiant
mailing list