Sha256: ce428afc067d80e09fa6fb40e3f8f2d735f9a5215d6cfe8e77d62b0e1f077f36

Contents?: true

Size: 564 Bytes

Versions: 95

Compression:

Stored size: 564 Bytes

Contents

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

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

ActiveRecord::Base.configurations = {
  'arunit' => {
    :adapter => 'db2',
    :host => 'localhost',
    :username => 'arunit',
    :password => 'arunit',
    :database => 'arunit'
  },
  'arunit2' => {
    :adapter => 'db2',
    :host => 'localhost',
    :username => 'arunit',
    :password => 'arunit',
    :database => 'arunit2'
  }
}

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

Version data entries

95 entries across 95 versions & 8 rubygems

Version Path
radiant-0.6.0 vendor/rails/activerecord/test/connections/native_db2/connection.rb
radiant-0.6.1 vendor/rails/activerecord/test/connections/native_db2/connection.rb
radiant-0.6.2 vendor/rails/activerecord/test/connections/native_db2/connection.rb
radiant-0.6.3 vendor/rails/activerecord/test/connections/native_db2/connection.rb
radiant-0.6.4 vendor/rails/activerecord/test/connections/native_db2/connection.rb
radiant-0.6.5.1 vendor/rails/activerecord/test/connections/native_db2/connection.rb
radiant-0.6.5 vendor/rails/activerecord/test/connections/native_db2/connection.rb
radiant-0.6.7 vendor/rails/activerecord/test/connections/native_db2/connection.rb
radiant-0.6.6 vendor/rails/activerecord/test/connections/native_db2/connection.rb
radiant-0.6.8 vendor/rails/activerecord/test/connections/native_db2/connection.rb
radiant-0.6.9 vendor/rails/activerecord/test/connections/native_db2/connection.rb
rq-3.3.0 rails/vendor/rails/activerecord/test/connections/native_db2/connection.rb
rq-3.4.0 rails/vendor/rails/activerecord/test/connections/native_db2/connection.rb
spree-0.0.9 vendor/rails/activerecord/test/connections/native_db2/connection.rb
spree-0.2.0 vendor/rails/activerecord/test/connections/native_db2/connection.rb