Sha256: 0523952d61bcd2d77418e6929028dee6535addf38709cb8b7c1dc4d91f7cd6e5
Contents?: true
Size: 557 Bytes
Versions: 7
Compression:
Stored size: 557 Bytes
Contents
print "Using native SQLServer via ODBC\n" require_dependency 'fixtures/course' require 'logger' ActiveRecord::Base.logger = Logger.new("debug.log") dsn1 = 'activerecord_unittest' dsn2 = 'activerecord_unittest2' ActiveRecord::Base.establish_connection( :adapter => "sqlserver", :mode => "ODBC", :host => "localhost", :username => "sa", :password => "", :dsn => dsn1 ) Course.establish_connection( :adapter => "sqlserver", :mode => "ODBC", :host => "localhost", :username => "sa", :password => "", :dsn => dsn2 )
Version data entries
7 entries across 7 versions & 1 rubygems