Magnus D. wrote in post #958933:
Marnen Laibow-Koser wrote in post #958814:
Magnus D. wrote in post #958686:
I'm trying to connect to a SQLServer 2008 database running on localhost,
but I can't seem to get it working.
Advice: do not use MS SQL Server with Rails. Do not do Rails
development on Windows. Both of these will make your life harder.
I'm starting to learn this.
What does your database.yml file look like?
I have a user dsn connected to the database.
You neglected to specify user and password.
Also, you're using ODBC. I would recommend instead installing TinyTds
and using mode: dblib. This allows Rails to make a direct TDS
connection to your DB and bypass ODBC entirely.