Connecting Rails to a SQL Server

Apr 5, 2007 14:23 · 41 words · 1 minute read

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…