blah blah woof woof

Loading the ActiveRecord SQL Server adapter in a Rails 2.1 app

Tim Riley 2008.06.18 It's pretty simple. In your config/environment.rb:
  config.gem 'activerecord-sqlserver-adapter', :source => 'http://gems.rubyonrails.org', :lib => 'active_record/connection_adapters/sqlserver_adapter'
Then run rake gems:install and away you go. Hugh has some more tips about the packages and configuration required to connect to an SQL Server from a Linux platform.

Want More?

Previous Article

  1. 2008.06.12 Enabling a non-interactive install of Blackdown's j2re1.4 on Ubuntu or Debian

Next Article

  1. 2008.06.27 Displaying both local and HTTP remote images in Prince XML generated PDFs