Sha256: b41b7cd864d09adeab1f91f085ace0869cdb3581d872759888861b75ac12c185

Contents?: true

Size: 457 Bytes

Versions: 5

Compression:

Stored size: 457 Bytes

Contents

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

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

db1 = 'activerecord_unittest'
db2 = 'activerecord_unittest2'

ActiveRecord::Base.establish_connection(
  :adapter  => "openbase",
  :username => "admin",
  :password => "", 
  :database => db1
)

Course.establish_connection(
  :adapter  => "openbase",
  :username => "admin",
  :password => "", 
  :database => db2
)

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
activerecord-1.14.3 test/connections/native_openbase/connection.rb
activerecord-1.14.1 test/connections/native_openbase/connection.rb
activerecord-1.14.0 test/connections/native_openbase/connection.rb
activerecord-1.14.2 test/connections/native_openbase/connection.rb
activerecord-1.14.4 test/connections/native_openbase/connection.rb