Sha256: ea7e426f3bd803b23ee38b239afdc677166948c1a036b76bd36955ca05d9b24d
Contents?: true
Size: 733 Bytes
Versions: 13
Compression:
Stored size: 733 Bytes
Contents
print "Using SQLServer via ADONET\n" require_dependency 'models/course' require 'logger' ActiveRecord::Base.logger = Logger.new(File.expand_path(File.join(SQLSERVER_TEST_ROOT,'debug.log'))) ActiveRecord::Base.logger.level = 0 ActiveRecord::Base.configurations = { 'arunit' => { :adapter => 'sqlserver', :mode => 'ADONET', :host => 'localhost', :username => 'rails', :database => 'activerecord_unittest' }, 'arunit2' => { :adapter => 'sqlserver', :mode => 'ADONET', :host => 'localhost', :username => 'rails', :database => 'activerecord_unittest2' } } ActiveRecord::Base.establish_connection 'arunit' Course.establish_connection 'arunit2'
Version data entries
13 entries across 13 versions & 1 rubygems