Sha256: 701c418ea48725524da6a67fedd2b452e74874f0670dab6c7097b367c850479c

Contents?: true

Size: 331 Bytes

Versions: 7

Compression:

Stored size: 331 Bytes

Contents

print "Using PostgreSQL\n"
require 'logger'

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

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

}

ActiveRecord::Base.establish_connection 'redhillonrails'

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
aspgems-redhillonrails_core-2.0.0.beta2 spec/connections/postgresql/connection.rb
aspgems-redhillonrails_core-2.0.0.beta1 spec/connections/postgresql/connection.rb
redhillonrails_core-1.1.3 spec/connections/postgresql/connection.rb
redhillonrails_core-1.1.3.pre1 spec/connections/postgresql/connection.rb
redhillonrails_core-1.1.2 spec/connections/postgresql/connection.rb
redhillonrails_core-1.1.1 spec/connections/postgresql/connection.rb
redhillonrails_core-1.1.0 spec/connections/postgresql/connection.rb