integrating SQL and Ruby to enable DB access from a Ruby application