To connect Rails to a SQL Server, you’ll need to edit the config/database.yml file:
development:
adapter: sqlserver
database: dbmydatabase
host: sqlserver.domain.com
username: user
password: secret
Replace the fields with the appropriate values for the environment, and away it should all go…
