Odbc adapter error with one-click-installer 1.8.4 pv3


#1

I’m having trouble accessing a db2 database via odbc using rails. It’s
an
external database, that I import data from. I have placed the
connection
code in my model :

unless connected?
establish_connection(
:adapter => “odbc”,
:dsn => “TM_Reporting_00001”,
:username => “”,
:password => “”
)
end

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


Best Regards,
-Larry
“Work, work, work…there is no satisfactory alternative.”
— E.Taft Benson