Sha256: 0bc816721de9cd7fd6719762c6dcba1660bf8d3df4a7fd6a0ca1dd8e19822b56

Contents?: true

Size: 504 Bytes

Versions: 95

Compression:

Stored size: 504 Bytes

Contents

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

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

ActiveRecord::Base.configurations = {
  'arunit' => {
    :adapter  => 'openbase',
    :username => 'admin',
    :database => 'activerecord_unittest',
  },
  'arunit2' => {
    :adapter  => 'openbase',
    :username => 'admin',
    :database => 'activerecord_unittest2'
  }
}

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

Version data entries

95 entries across 95 versions & 8 rubygems

Version Path
backlog-0.3.9 vendor/rails/activerecord/test/connections/native_openbase/connection.rb
backlog-0.4.0 vendor/rails/activerecord/test/connections/native_openbase/connection.rb
backlog-0.5.0 vendor/rails/activerecord/test/connections/native_openbase/connection.rb
backlog-0.5.1 vendor/rails/activerecord/test/connections/native_openbase/connection.rb
backlog-0.5.10 vendor/rails/activerecord/test/connections/native_openbase/connection.rb
backlog-0.5.2 vendor/rails/activerecord/test/connections/native_openbase/connection.rb
backlog-0.5.4 vendor/rails/activerecord/test/connections/native_openbase/connection.rb
backlog-0.5.3 vendor/rails/activerecord/test/connections/native_openbase/connection.rb
backlog-0.5.5 vendor/rails/activerecord/test/connections/native_openbase/connection.rb
backlog-0.5.6 vendor/rails/activerecord/test/connections/native_openbase/connection.rb
backlog-0.5.7 vendor/rails/activerecord/test/connections/native_openbase/connection.rb
backlog-0.5.9 vendor/rails/activerecord/test/connections/native_openbase/connection.rb
backlog-0.5.8 vendor/rails/activerecord/test/connections/native_openbase/connection.rb
backlog-0.6.1 vendor/rails/activerecord/test/connections/native_openbase/connection.rb
backlog-0.6.0 vendor/rails/activerecord/test/connections/native_openbase/connection.rb
backlog-0.6.2 vendor/rails/activerecord/test/connections/native_openbase/connection.rb
backlog-0.6.3 vendor/rails/activerecord/test/connections/native_openbase/connection.rb
backlog-0.6.4 vendor/rails/activerecord/test/connections/native_openbase/connection.rb
backlog-0.6.5 vendor/rails/activerecord/test/connections/native_openbase/connection.rb
backlog-0.6.6 vendor/rails/activerecord/test/connections/native_openbase/connection.rb