Most common database used with Rails is mySQL but if you ever need to use SQL Server, here is a quick how to.
I am using Windows Vista, SQL Server 2008, Rails 2.2.
1) Install activerecord-sqlserver-adapter gem
> gem install activerecord-sqlserver-adapter
2) Create a new Login for this new database (say testuser) using SQL Server Management Studio
3) Create a new database in SQL Server 2008 for your project (say testproject) and choose testuser as Owner
4) Create a …
[Read more]