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
activerecord_authorails-1.0.0 test/connections/native_db2/connection.rb
backlog-0.0.0 vendor/rails/activerecord/test/connections/native_db2/connection.rb
backlog-0.0.1 vendor/rails/activerecord/test/connections/native_db2/connection.rb
backlog-0.0.2 vendor/rails/activerecord/test/connections/native_db2/connection.rb
backlog-0.0.4 vendor/rails/activerecord/test/connections/native_db2/connection.rb
backlog-0.0.5 vendor/rails/activerecord/test/connections/native_db2/connection.rb
backlog-0.1.0 vendor/rails/activerecord/test/connections/native_db2/connection.rb
backlog-0.1.1 vendor/rails/activerecord/test/connections/native_db2/connection.rb
backlog-0.1.2 vendor/rails/activerecord/test/connections/native_db2/connection.rb
backlog-0.2.0 vendor/rails/activerecord/test/connections/native_db2/connection.rb
backlog-0.2.1 vendor/rails/activerecord/test/connections/native_db2/connection.rb
backlog-0.3.0 vendor/rails/activerecord/test/connections/native_db2/connection.rb
backlog-0.3.3 vendor/rails/activerecord/test/connections/native_db2/connection.rb
backlog-0.3.2 vendor/rails/activerecord/test/connections/native_db2/connection.rb
backlog-0.3.1 vendor/rails/activerecord/test/connections/native_db2/connection.rb
backlog-0.3.4 vendor/rails/activerecord/test/connections/native_db2/connection.rb
backlog-0.3.6 vendor/rails/activerecord/test/connections/native_db2/connection.rb
backlog-0.3.5 vendor/rails/activerecord/test/connections/native_db2/connection.rb
backlog-0.3.7 vendor/rails/activerecord/test/connections/native_db2/connection.rb
backlog-0.3.8 vendor/rails/activerecord/test/connections/native_db2/connection.rb