Sha256: ae409cb1d2e9b1964e276cb9657ed0db6b374e5b5514e5378eafa0a4c3b83376
Contents?: true
Size: 491 Bytes
Versions: 11
Compression:
Stored size: 491 Bytes
Contents
print "Using native MySQL\n" require 'fixtures/course' require 'logger' ActiveRecord::Base.logger = Logger.new("debug.log") db1 = 'activerecord_unittest' db2 = 'activerecord_unittest2' ActiveRecord::Base.establish_connection( :adapter => "mysql", :host => "localhost", :username => "rails", :password => "", :database => db1 ) Course.establish_connection( :adapter => "mysql", :host => "localhost", :username => "rails", :password => "", :database => db2 )
Version data entries
11 entries across 11 versions & 1 rubygems