views:

479

answers:

1

I am attempting to make a simple connection to a remote database. I can not seem to get it to work.

remote_db = DBI.connect('DBI:ODBC:remote-host','user','password')
remote_db.table { |table| pp table }

Any help would be greatly appreciated.

+2  A: 
sean lynch
i guess I am getting hung up on the datasource part. Ill take a look. Thanks for the links.
rubynewbie