[Nitro] Problem with Og post method
Matthew B Gardner
weather at speakeasy.net
Sun Aug 19 17:24:17 EDT 2007
Hopefully this catches any repliers before responding to my previous post -- I
got this working. I realized (from the example -- thanks again George) that I
need to call Aspects.setup inside my program after Og.setup and it looks to
be working fine.
Thanks again,
Matt
On Sunday 19 August 2007 16:42, Matthew B Gardner wrote:
> Hello -
>
> On Sunday 19 August 2007 04:58, George Moschovitis wrote:
> > Please,
> >
> > get the latest version (either from darcs or from the repository gems:
> > http://www.nitroproject.org/repo/gems
> >
> > 0.41.0 is about a year old and I cannot easily help you.
> >
> > thanks,
> > George.
>
> Sorry about that -- I've now upgraded to 0.50.0 for both glue and og.
>
> class Root
>
> property :name, VarChar(100)
>
> after :og_read, :call => :to_world
>
> def initialize name = "_error"
> @name = name
> @dirty = false
> @remove = false
> end
>
> def to_world
> p "--WE GOT HERE--"
> world.objects << self
> end
>
> ...
> end
>
> Aspects.setup
> -end of file-
>
>
> Root#to_world is never getting called -- I tried placing the call in my
> Account < Root class, but that didn't work either.
>
> Thanks again for the help,
> Matt
> _______________________________________________
> Nitro-general mailing list
> Nitro-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/nitro-general
More information about the Nitro-general
mailing list