Sha256: 971f246e8b5a8cfd79e5432e3994a7bac60c1f14e29602522c4f6f9781f63a1f
Contents?: true
Size: 515 Bytes
Versions: 19
Compression:
Stored size: 515 Bytes
Contents
print "Using native PostgreSQL\n" require 'fixtures/course' require 'logger' ActiveRecord::Base.logger = Logger.new("debug.log") db1 = 'activerecord_unittest' db2 = 'activerecord_unittest2' ActiveRecord::Base.establish_connection( :adapter => "postgresql", :host => nil, :username => "postgres", :password => "postgres", :database => db1 ) Course.establish_connection( :adapter => "postgresql", :host => nil, :username => "postgres", :password => "postgres", :database => db2 )
Version data entries
19 entries across 19 versions & 1 rubygems