From: Mark Gallop Date: 2007-09-26T13:57:13+09:00 Subject: Re: Ruby | Ruby on Rails | database MS SQL Server 2005 Hi Joe, Erstwhile Joe wrote: > How can I configure Ruby and Ruby on Rails for use with MS SQL Server > 2005? > I haven't used ADO but have been successfully using ODBC to connect to a mssql server. This is how I created the connection: ActiveRecord::Base.establish_connection( :adapter => 'sqlserver', :mode => 'odbc', :dsn => 'MyDSName', :username => 'bob', :password => 'bob') I added bob as a local user (maybe domain users also work) and created the ODBC connection called MyDSName. Cheers, Mark