Sha256: 6ec79b04d91201aa197be6a66e9e7be33146105ea898d152b21998f76b6f5d7d
Contents?: true
Size: 607 Bytes
Versions: 23
Compression:
Stored size: 607 Bytes
Contents
print "Using native MySQL\n" require_dependency 'fixtures/course' require 'logger' RAILS_DEFAULT_LOGGER = Logger.new('debug.log') RAILS_DEFAULT_LOGGER.level = Logger::DEBUG ActiveRecord::Base.logger = RAILS_DEFAULT_LOGGER ActiveRecord::Base.configurations = { 'arunit' => { :adapter => 'mysql', :username => 'rails', :encoding => 'utf8', :database => 'activerecord_unittest', }, 'arunit2' => { :adapter => 'mysql', :username => 'rails', :database => 'activerecord_unittest2' } } ActiveRecord::Base.establish_connection 'arunit' Course.establish_connection 'arunit2'
Version data entries
23 entries across 23 versions & 5 rubygems