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

Version Path
akitaonrails-activerecord-sqlserver-adapter-1.1.1 test/connections/native_sqlserver/connection.rb
aq1018-2000-2008-adapter-0.0.1 test/connections/native_sqlserver/connection.rb
aq1018-sqlserver-2000-2008-adpater-0.0.2 test/connections/native_sqlserver/connection.rb
artpop-2000-2005-adapter-2.2.15 test/connections/native_sqlserver/connection.rb
rails-sqlserver-2000-2005-adapter-1.0.0 test/connections/native_sqlserver/connection.rb
rails-sqlserver-2000-2005-adapter-1.0.1 test/connections/native_sqlserver/connection.rb
rails-sqlserver-2000-2005-adapter-2.2.0 test/connections/native_sqlserver/connection.rb
rails-sqlserver-2000-2005-adapter-2.2.1 test/connections/native_sqlserver/connection.rb
rails-sqlserver-2000-2005-adapter-2.2.10 test/connections/native_sqlserver/connection.rb
rails-sqlserver-2000-2005-adapter-2.2.11 test/connections/native_sqlserver/connection.rb
rails-sqlserver-2000-2005-adapter-2.2.12 test/connections/native_sqlserver/connection.rb
rails-sqlserver-2000-2005-adapter-2.2.13 test/connections/native_sqlserver/connection.rb
rails-sqlserver-2000-2005-adapter-2.2.14 test/connections/native_sqlserver/connection.rb
rails-sqlserver-2000-2005-adapter-2.2.15 test/connections/native_sqlserver/connection.rb
rails-sqlserver-2000-2005-adapter-2.2.16 test/connections/native_sqlserver/connection.rb
rails-sqlserver-2000-2005-adapter-2.2.17 test/connections/native_sqlserver/connection.rb
rails-sqlserver-2000-2005-adapter-2.2.18 test/connections/native_sqlserver/connection.rb
rails-sqlserver-2000-2005-adapter-2.2.19 test/connections/native_sqlserver/connection.rb
rails-sqlserver-2000-2005-adapter-2.2.2 test/connections/native_sqlserver/connection.rb
rails-sqlserver-2000-2005-adapter-2.2.21 test/connections/native_sqlserver/connection.rb