Sha256: 0c0ec62eb243fa0f2318ab3f7f6cabc569181ac22c1303dab5fc1a915081fda9

Contents?: true

Size: 497 Bytes

Versions: 8

Compression:

Stored size: 497 Bytes

Contents

print "Using native SQLServer\n"
require 'fixtures/course'
require 'logger'

ActiveRecord::Base.logger = Logger.new("debug.log")

db1 = 'activerecord_unittest'
db2 = 'activerecord_unittest2'

ActiveRecord::Base.establish_connection(
  :adapter  => "sqlserver",
  :host     => "localhost",
  :username => "sa",
  :password => "",
  :database => db1
)

Course.establish_connection(
  :adapter  => "sqlserver",
  :host     => "localhost",
  :username => "sa",
  :password => "",
  :database => db2
)

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
activerecord-1.12.1 test/connections/native_sqlserver/connection.rb
activerecord-1.11.1 test/connections/native_sqlserver/connection.rb
activerecord-1.10.1 test/connections/native_sqlserver/connection.rb
activerecord-1.10.0 test/connections/native_sqlserver/connection.rb
activerecord-1.11.0 test/connections/native_sqlserver/connection.rb
activerecord-1.12.2 test/connections/native_sqlserver/connection.rb
activerecord-1.13.0 test/connections/native_sqlserver/connection.rb
activerecord-1.9.1 test/connections/native_sqlserver/connection.rb