Sha256: c3b9a5b29620db9405fb62f9cd0fc8329800c7865a456c3c24db97b6517f3989

Contents?: true

Size: 297 Bytes

Versions: 2

Compression:

Stored size: 297 Bytes

Contents

print "Using PostgreSQL\n"
require 'logger'

ActiveRecord::Base.logger = Logger.new("debug.log")

ActiveRecord::Base.configurations = {
  'afk' => {
    :adapter => 'postgresql',
    :database => 'afk_unittest',
    :min_messages => 'warning'
  }

}

ActiveRecord::Base.establish_connection 'afk'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
automatic_foreign_key-1.1.0 spec/connections/postgresql/connection.rb
automatic_foreign_key-1.0.5 spec/connections/postgresql/connection.rb