[Nitro] OG connect and exec_statement: unexpected behaviors (Critical -> Trivial)

Mark Van De Vyver mvyver at gmail.com
Mon Sep 3 19:46:39 EDT 2007

Hi Jonathon

> > I have seen this one, can't find where the second select comes from. Will
> > have to investigate further.
> just as a general debugging Og tip (even if it involves your own app):
> Put a `pp caller` in exec_statement(), it generates a lot of line-noise
> but is very helpful if there just doesn't seem to be a reason for an
> unexpected query.

Thanks for the `pp caller` tip.
Re: the double select on `og_create_schema`, I've posted a patch of
what works for me - I'm sure it could be improved :)


> Jo
> --
> Feel the love
> http://pinkjuice.com/pics/ruby.png
> _______________________________________________
> Nitro-general mailing list
> Nitro-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/nitro-general

More information about the Nitro-general mailing list