[Nitro] PATCH: schema_inheritance

George Moschovitis george.moschovitis at gmail.com
Mon Jan 9 04:14:07 EST 2006


thanks a lot, will investigate...

-g.


On 1/9/06, Aidan Rogers <aidan at yoyo.org> wrote:
> In answer to my own question, here is a patch.  I've not used diff/
> patch for quite a while, so unsure of the protocol.
>
> I've tested it with my own application, as well as with a small test
> app (which I've also attached - it would be easily turned into a test
> case, but I don't have my environment set up to run the regular nitro
> test cases).
>
> Please let me know if I've done anything crazy :-)
>
> Aidan
>
>
>
> On 09/01/2006, at 2:00 PM, Aidan Rogers wrote:
>
> > Did this get fixed?
> >
> > Aidan
> >
> > On 27/12/2005, at 12:52 PM, Emmanuel Piperakis wrote:
> >
> >>> use:
> >>>
> >>> is SchemaInheritanceBase
> >>>
> >>> perhaps we can improve the name.
> >>
> >> G. the initial email I posted reported a bug in the 0.26, where
> >> when I use
> >> the schema_inheritance only the frist subclasss' fields are added
> >> to the
> >> superclass. That must be realy easy to fix, and it worked for 0.25
> >> and it
> >> prevents me from upgrading.
> >>
> >> e.g
> >>
> >> class Project
> >>   property :koko, String
> >>   schema_inheritance
> >> end
> >>
> >> class FProject < Project
> >>   property :haha, String
> >> end
> >>
> >> class DProject < Project
> >>   property :kaka, String
> >> end
> >>
> >> ONLY :haha is added and NOT :kaka. I tried switching the order of the
> >> classes (first DProject and then FProject) and then only :kaka was
> >> added
> >> to the table and NOT :haha, therefore there a very simple problem.
> >> You
> >> only take one subclass...
> >>
> >> Could you please fix this?
> >
> > _______________________________________________
> > Nitro-general mailing list
> > Nitro-general at rubyforge.org
> > http://rubyforge.org/mailman/listinfo/nitro-general
> >
>
>
>
> _______________________________________________
> Nitro-general mailing list
> Nitro-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/nitro-general
>
>
>
>


--
http://www.gmosx.com
http://www.navel.gr
http://www.nitrohq.com




More information about the Nitro-general mailing list