[Nitro] Merry Christmas...

Alexandre Gravem vikingtux at gmail.com
Sun Dec 25 11:54:12 EST 2005


schema_inherintance implements a
SingleTableInheritance<http://www.martinfowler.com/eaaCatalog/singleTableInheritance.html>pattern.

yours, Alexandre Gravem

On 12/25/05, TRANS <transfire at gmail.com> wrote:
>
> On 12/25/05, Emmanuel Piperakis <epiperak at softlab.ece.ntua.gr> wrote:
> > Unfortunately Christmas and I am at work preparing for a presentation.
> > I found a bug in 0.26
> >
> > class Project
> >   property :hohoho, String
> >   ...
> >   schema_inheritance
> > end
> >
> > class ForeignProject < Project
> >   property :santa, String
> >   ...
> > end
> >
> > class DomesticProject < Project
> >   property :evilsanta, String
> >   ...
> > end
> >
> > the table ogproject only inherits ForeignProjects' properties!!! NOT the
> > DomesticProjects' !!! It must be really simple to fix, ...
> > Please advise...
>
> Fraid I don't understand enough to help here, but maybe you can answer
> a question for me and maybe I can understand enough. What does
> schema_inheritance do exactly?
>
> Thanks,
> T.
>
> _______________________________________________
> Nitro-general mailing list
> Nitro-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/nitro-general
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/nitro-general/attachments/20051225/6b260c46/attachment.html 


More information about the Nitro-general mailing list