Sha256: 985769ee38d3c64f54f2abbdccea6570cf69cff7264da8cc79d7c7c4ab7292a7

Contents?: true

Size: 244 Bytes

Versions: 6

Compression:

Stored size: 244 Bytes

Contents

print "Using PostgreSQL\n"
require 'logger'

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

}

ActiveRecord::Base.establish_connection 'afk'

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
automatic_foreign_key-1.3.0 spec/connections/postgresql/connection.rb
automatic_foreign_key-1.2.0 spec/connections/postgresql/connection.rb
automatic_foreign_key-1.1.8 spec/connections/postgresql/connection.rb
automatic_foreign_key-1.1.7 spec/connections/postgresql/connection.rb
automatic_foreign_key-1.1.6 spec/connections/postgresql/connection.rb
automatic_foreign_key-1.1.5 spec/connections/postgresql/connection.rb