How to connect to SQL Server 2005 database through Ruby in Windows
"Ruby, ADO, and SQLServer" is an example using Ruby and ADO to connect to and query an SQL Server database.
And "Using Ruby & SQL-DMO to Automate SQL Server Tasks" demonstrates how to use Ruby and SQL-DMO to automate server tasks.