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

Version Path
activerecord-1.0.0 test/connections/native_postgresql/connection.rb
activerecord-1.12.2 test/connections/native_postgresql/connection.rb
activerecord-1.12.1 test/connections/native_postgresql/connection.rb
activerecord-1.1.0 test/connections/native_postgresql/connection.rb
activerecord-1.13.0 test/connections/native_postgresql/connection.rb
activerecord-1.11.0 test/connections/native_postgresql/connection.rb
activerecord-1.10.1 test/connections/native_postgresql/connection.rb
activerecord-1.11.1 test/connections/native_postgresql/connection.rb
activerecord-1.10.0 test/connections/native_postgresql/connection.rb
activerecord-1.4.0 test/connections/native_postgresql/connection.rb
activerecord-1.2.0 test/connections/native_postgresql/connection.rb
activerecord-1.3.0 test/connections/native_postgresql/connection.rb
activerecord-1.9.0 test/connections/native_postgresql/connection.rb
activerecord-1.5.1 test/connections/native_postgresql/connection.rb
activerecord-1.5.0 test/connections/native_postgresql/connection.rb
activerecord-1.7.0 test/connections/native_postgresql/connection.rb
activerecord-1.6.0 test/connections/native_postgresql/connection.rb
activerecord-1.8.0 test/connections/native_postgresql/connection.rb
activerecord-1.9.1 test/connections/native_postgresql/connection.rb