[Radiant] Extending Models in Extensions

Sander de Goeij sdegoeij at gmail.com
Thu Mar 29 01:31:40 CDT 2007


> >
> >    def activate
> >      ...
> >      Page.send :include, PageExtender
> >    end
> >

Page.send("has_many", "comments".intern)

would also work.
-- 
Sander de Goeij
sdegoeij at gmail.com



More information about the Radiant mailing list