Sha256: 9ebb0413f6419d1f7e5d8b471c52b60e3ffcbef9addb3795df045a0f1e5500dc
Contents?: true
Size: 502 Bytes
Versions: 101
Compression:
Stored size: 502 Bytes
Contents
print "Using native OpenBase\n" require_dependency 'models/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
101 entries across 98 versions & 20 rubygems
Version | Path |
---|---|
radiant-0.7.1 | vendor/rails/activerecord/test/connections/native_openbase/connection.rb |