Forum: Ruby on Rails odbc adapter error with one-click-installer 1.8.4 pv3

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Larry K. (Guest)
on 2006-03-09 14:10
(Received via mailing list)
I'm having trouble accessing a db2 database via odbc using rails.  It's
external database, that I import data from.  I have placed the
code in my model :

   unless connected?
        :adapter => "odbc",
        :dsn => "TM_Reporting_00001",
        :username => "<name>",
        :password => "<passwd>"

When I call this via the concole, I get a " unknown adapter" error.
checked and  an odbc file is included. Can someone help me with this?

Best Regards,
"Work, work, work...there is no satisfactory alternative."
            --- E.Taft Benson
This topic is locked and can not be replied to.