[Nitro] Extending EnitityMixin

gabriele renzi surrender_it at yahoo.it
Mon Aug 14 06:02:20 EDT 2006

Hi everyone,

has part of the scaffolding infrastructure I'm adding some extensions 
methods to the Og managed classes, i.e. Model#to_href, default #to_s and 
so on. Reopening Og::EntityMixin seem like a nice way to do it.

The problem is: how to handle class methods?
I could use Module#inherited but EntityMixin already defines that,
so it is not a good way.
I could use a EntityScaffoldingMixin, but I'd like to hear other 


blog en: http://www.riffraff.info
blog it: http://riffraff.blogsome.com
jabber : rff.rff at gmail dot com

More information about the Nitro-general mailing list