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
backlog-0.5.2 vendor/rails/activerecord/test/connections/native_sqlserver/connection.rb
backlog-0.5.3 vendor/rails/activerecord/test/connections/native_sqlserver/connection.rb
backlog-0.5.4 vendor/rails/activerecord/test/connections/native_sqlserver/connection.rb
backlog-0.5.5 vendor/rails/activerecord/test/connections/native_sqlserver/connection.rb
backlog-0.5.6 vendor/rails/activerecord/test/connections/native_sqlserver/connection.rb
backlog-0.5.7 vendor/rails/activerecord/test/connections/native_sqlserver/connection.rb
backlog-0.5.8 vendor/rails/activerecord/test/connections/native_sqlserver/connection.rb
backlog-0.5.9 vendor/rails/activerecord/test/connections/native_sqlserver/connection.rb
backlog-0.6.1 vendor/rails/activerecord/test/connections/native_sqlserver/connection.rb
backlog-0.6.2 vendor/rails/activerecord/test/connections/native_sqlserver/connection.rb
backlog-0.6.0 vendor/rails/activerecord/test/connections/native_sqlserver/connection.rb
backlog-0.6.5 vendor/rails/activerecord/test/connections/native_sqlserver/connection.rb
backlog-0.6.4 vendor/rails/activerecord/test/connections/native_sqlserver/connection.rb
backlog-0.6.3 vendor/rails/activerecord/test/connections/native_sqlserver/connection.rb
backlog-0.7.0 vendor/rails/activerecord/test/connections/native_sqlserver/connection.rb
backlog-0.6.6 vendor/rails/activerecord/test/connections/native_sqlserver/connection.rb
backlog-0.7.1 vendor/rails/activerecord/test/connections/native_sqlserver/connection.rb
backlog-0.7.10 vendor/rails/activerecord/test/connections/native_sqlserver/connection.rb
backlog-0.7.12 vendor/rails/activerecord/test/connections/native_sqlserver/connection.rb
backlog-0.7.11 vendor/rails/activerecord/test/connections/native_sqlserver/connection.rb