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