Sha256: 5245513757b2f8c7fb66e7ce136b7f6f2f4b8d135e0fe8cf36e4c8299818395f
Contents?: true
Size: 560 Bytes
Versions: 82
Compression:
Stored size: 560 Bytes
Contents
print "Using native SQLServer\n" require_dependency 'fixtures/course' require 'logger' ActiveRecord::Base.logger = Logger.new("debug.log") ActiveRecord::Base.configurations = { 'arunit' => { :adapter => 'sqlserver', :host => 'localhost', :username => 'sa', :database => 'activerecord_unittest' }, 'arunit2' => { :adapter => 'sqlserver', :host => 'localhost', :username => 'sa', :database => 'activerecord_unittest2' } } ActiveRecord::Base.establish_connection 'arunit' Course.establish_connection 'arunit2'
Version data entries
82 entries across 82 versions & 7 rubygems
Version | Path |
---|---|
rq-3.4.0 | rails/vendor/rails/activerecord/test/connections/native_sqlserver/connection.rb |
rq-3.3.0 | rails/vendor/rails/activerecord/test/connections/native_sqlserver/connection.rb |