Sha256: 7ccafff1760e0d035a9908d37dc91f9057070dc6f60e7b5cddd422b35dcd6b89

Contents?: true

Size: 342 Bytes

Versions: 6

Compression:

Stored size: 342 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',
    :database => 'schema_plus_unittest',
    :min_messages => 'warning'
  }

}

ActiveRecord::Base.establish_connection 'schema_plus'

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
schema_plus-0.1.1 spec/connections/postgresql/connection.rb
schema_plus-0.1.0 spec/connections/postgresql/connection.rb
schema_plus-0.1.0.pre4 spec/connections/postgresql/connection.rb
schema_plus-0.1.0.pre3 spec/connections/postgresql/connection.rb
schema_plus-0.1.0.pre2 spec/connections/postgresql/connection.rb
schema_plus-0.1.0.pre1 spec/connections/postgresql/connection.rb