Example of how to connect ActiveRecord to SQL Server
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.markdown
company.rb
company_query_test.rb
config.rb
establish_connection.rb

README.markdown

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)