Larry Kelly
2006-Mar-09 12:07 UTC
[Rails] odbc adapter error with one-click-installer 1.8.4 pv3
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 => "<name>", :password => "<passwd>" ) 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060309/9727f441/attachment.html