Run a particular query against a particular database using Ruby.