Database plumbing created to make Mysql calls very easy.  Use api-functions/login.rb as the template for builing api functions.  If the api function isn't called with the right amount of variables throw a '-0' as the error saying something at the HTTP layer fucked up and Ruby can't find enough variables to do the damm thing.

Don't use the Sequel driver.  It's a moving target right now and it doesn't work for stored procedures worth a shit.

Please take a look at qb_query.rb and look for any exploit vectors!