Sha256: 017d5eb74bdb93592d1e7c00ca7c267d279820f801213eae942c438ad7d8d36b

Contents?: true

Size: 609 Bytes

Versions: 82

Compression:

Stored size: 609 Bytes

Contents

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

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

ActiveRecord::Base.configurations = {
  'arunit' => {
    :adapter  => 'sqlserver',
    :mode     => 'ODBC',
    :host     => 'localhost',
    :username => 'sa',
    :dsn => 'activerecord_unittest'
  },
  'arunit2' => {
    :adapter  => 'sqlserver',
    :mode     => 'ODBC',
    :host     => 'localhost',
    :username => 'sa',
    :dsn => 'activerecord_unittest2'
  }
}

ActiveRecord::Base.establish_connection 'arunit'
Course.establish_connection 'arunit2'

Version data entries

82 entries across 82 versions & 7 rubygems

Version Path
jstorimer-deep-test-2.0.0 sample_rails_project/vendor/rails/activerecord/test/connections/native_sqlserver_odbc/connection.rb
jstorimer-deep-test-1.4.0 sample_rails_project/vendor/rails/activerecord/test/connections/native_sqlserver_odbc/connection.rb
jstorimer-deep-test-1.3.0 sample_rails_project/vendor/rails/activerecord/test/connections/native_sqlserver_odbc/connection.rb
jstorimer-deep-test-1.2.0 sample_rails_project/vendor/rails/activerecord/test/connections/native_sqlserver_odbc/connection.rb
jstorimer-deep-test-1.1.0 sample_rails_project/vendor/rails/activerecord/test/connections/native_sqlserver_odbc/connection.rb
jstorimer-deep-test-1.0.0 sample_rails_project/vendor/rails/activerecord/test/connections/native_sqlserver_odbc/connection.rb
jstorimer-deep-test-0.2.0 sample_rails_project/vendor/rails/activerecord/test/connections/native_sqlserver_odbc/connection.rb
jstorimer-deep-test-0.1.0 sample_rails_project/vendor/rails/activerecord/test/connections/native_sqlserver_odbc/connection.rb
activerecord-1.15.4 test/connections/native_sqlserver_odbc/connection.rb
activerecord-1.15.2 test/connections/native_sqlserver_odbc/connection.rb
activerecord-1.15.1 test/connections/native_sqlserver_odbc/connection.rb
activerecord-1.15.3 test/connections/native_sqlserver_odbc/connection.rb
activerecord-1.15.0 test/connections/native_sqlserver_odbc/connection.rb
activerecord-1.15.6 test/connections/native_sqlserver_odbc/connection.rb
activerecord-1.15.5 test/connections/native_sqlserver_odbc/connection.rb
activerecord_authorails-1.0.0 test/connections/native_sqlserver_odbc/connection.rb
backlog-0.0.0 vendor/rails/activerecord/test/connections/native_sqlserver_odbc/connection.rb
backlog-0.0.1 vendor/rails/activerecord/test/connections/native_sqlserver_odbc/connection.rb
backlog-0.0.2 vendor/rails/activerecord/test/connections/native_sqlserver_odbc/connection.rb
backlog-0.0.5 vendor/rails/activerecord/test/connections/native_sqlserver_odbc/connection.rb