andrewvida / activerecord-sqlserver-adapter-example

Example of how to connect ActiveRecord to SQL Server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Connecting ActiveRecord to SQLServer using the activerecord-sqlserver-adapter

Install the Ruby Development Kit - [http://wiki.github.com/oneclick/rubyinstaller/development-kit] (http://wiki.github.com/oneclick/rubyinstaller/development-kit)

gem install ruby-odbc

gem install activerecord-sqlserver-adapter - [https://github.com/rails-sqlserver/activerecord-sqlserver-adapter] (https://github.com/rails-sqlserver/activerecord-sqlserver-adapter)

Create system ODBC Data Sources for each environment - [http://msdn.microsoft.com/en-us/library/ms714024(VS.85).aspx] (http://msdn.microsoft.com/en-us/library/ms714024(VS.85).aspx)

About

Example of how to connect ActiveRecord to SQL Server