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

Jonathan Buch john at oxyliquit.de
Mon Sep 3 19:18:33 EDT 2007


Hi,

> 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.

Jo

-- 
Feel the love
http://pinkjuice.com/pics/ruby.png


More information about the Nitro-general mailing list