Connect to Cloudant Data in Ruby

The CData ODBC Driver for Cloudant makes it easy to integrate connectivity to live Cloudant data in Ruby. This article shows how to create a simple Ruby app that connects to Cloudant data, executes a query, and displays the results.

Create an ODBC Connection to Cloudant Data

If you have not already, first specify connection properties in an ODBC DSN (data source name). This is the last step of the driver installation. You can use the Microsoft ODBC Data Source Administrator to create and configure ODBC DSNs.