Sha256: 55be4b5121e0f4a1ab2d3c8dbeb00b86bb47690c5d9676161d775619fad092d9
Contents?: true
Size: 638 Bytes
Versions: 37
Compression:
Stored size: 638 Bytes
Contents
print "Using native SQLServer via ODBC\n" require_dependency 'models/course' require 'logger' ActiveRecord::Base.logger = Logger.new("debug.log") ActiveRecord::Base.configurations = { 'arunit' => { :adapter => 'sqlserver', :mode => 'ODBC', :host => 'localhost', :username => 'rails', :dsn => 'activerecord_unittest' }, 'arunit2' => { :adapter => 'sqlserver', :mode => 'ODBC', :host => 'localhost', :username => 'rails', :dsn => 'activerecord_unittest2' } } ActiveRecord::Base.establish_connection 'arunit' Course.establish_connection 'arunit2'
Version data entries
37 entries across 37 versions & 6 rubygems