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
backlog-0.7.0 vendor/rails/activerecord/test/connections/native_db2/connection.rb
backlog-0.7.1 vendor/rails/activerecord/test/connections/native_db2/connection.rb
backlog-0.7.10 vendor/rails/activerecord/test/connections/native_db2/connection.rb
backlog-0.7.12 vendor/rails/activerecord/test/connections/native_db2/connection.rb
backlog-0.7.11 vendor/rails/activerecord/test/connections/native_db2/connection.rb
backlog-0.7.2 vendor/rails/activerecord/test/connections/native_db2/connection.rb
backlog-0.7.3 vendor/rails/activerecord/test/connections/native_db2/connection.rb
backlog-0.7.5 vendor/rails/activerecord/test/connections/native_db2/connection.rb
backlog-0.7.4 vendor/rails/activerecord/test/connections/native_db2/connection.rb
backlog-0.7.7 vendor/rails/activerecord/test/connections/native_db2/connection.rb
backlog-0.7.6 vendor/rails/activerecord/test/connections/native_db2/connection.rb
backlog-0.7.8 vendor/rails/activerecord/test/connections/native_db2/connection.rb
backlog-0.7.9 vendor/rails/activerecord/test/connections/native_db2/connection.rb
backlog-0.8.0 vendor/rails/activerecord/test/connections/native_db2/connection.rb
backlog-0.9.0 vendor/rails/activerecord/test/connections/native_db2/connection.rb
backlog-0.8.1 vendor/rails/activerecord/test/connections/native_db2/connection.rb
backlog-0.9.1 vendor/rails/activerecord/test/connections/native_db2/connection.rb
magic_model_generator-0.4.2 test/connections/native_db2/connection.rb
magic_model_generator-0.4.1 test/connections/native_db2/connection.rb
magic_model_generator-0.4.0 test/connections/native_db2/connection.rb