Ruby on Rails connection using ODBC

Just wondering if there is a way of connecting to any database though ODBC. I'm looking at developing for a legacy system in a database called D3....

Any idea's?