Sha256: 2c5a0e769bd1a7b47fcb3943c9d89fc669384148086b8856e36be73bbf206279

Contents?: true

Size: 380 Bytes

Versions: 11

Compression:

Stored size: 380 Bytes

Contents

print "Using PostgreSQL\n"
require 'logger'

ActiveRecord::Base.logger = Logger.new(File.open("postgresql.log", "w"))

ActiveRecord::Base.configurations = {
  'schema_plus' => {
    :adapter => 'postgresql',
    :username => ENV['POSTGRES_DB_USER'],
    :database => 'schema_plus_test',
    :min_messages => 'warning'
  }

}

ActiveRecord::Base.establish_connection 'schema_plus'

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
schema_plus-1.4.0 spec/connections/postgresql/connection.rb
schema_plus-1.3.3 spec/connections/postgresql/connection.rb
schema_plus-1.3.2 spec/connections/postgresql/connection.rb
schema_plus-1.3.1 spec/connections/postgresql/connection.rb
schema_plus-1.3.0 spec/connections/postgresql/connection.rb
schema_plus-1.2.0 spec/connections/postgresql/connection.rb
schema_plus-1.1.2 spec/connections/postgresql/connection.rb
schema_plus-1.1.1 spec/connections/postgresql/connection.rb
schema_plus-1.1.0 spec/connections/postgresql/connection.rb
schema_plus-1.0.1 spec/connections/postgresql/connection.rb
schema_plus-1.0.0 spec/connections/postgresql/connection.rb