[Nitro] Og polymorphic question

George Moschovitis george.moschovitis at gmail.com
Mon Jun 20 07:27:42 EDT 2005

> Am I right that A::Comment is a subclass of Comment? Or maybe I'm totally
> wrong. How is it implemented?

Yeah, A::Comment is a subclass of Comment.

class A::Comment < Comment; end

but if tou add a plain comment to a, Og can't infer the correct table
to store the object.

Now that I am looking at your example, I think I can somehow implement
this... On the other hand, there is soo much to do, perhaps you could
help with a little patch? ;-)



More information about the Nitro-general mailing list