Sha256: 23efebc10b7cd07f60e8a195f3ede22dfaa4780b981123b3a6331e1b016762d2

Contents?: true

Size: 420 Bytes

Versions: 2

Compression:

Stored size: 420 Bytes

Contents

require 'active_record'

TERADATA_CONFIG = {
  :adapter => 'teradata',
  :host => (ENV['TERADATA_HOST'] || 'localhost'),
  :database => 'weblog_development',
  :port => 1025,
  :username => 'dbc',
  :password => 'dbc'
}

TERADATA_JNDI_CONFIG = {
  :adapter => 'teradata',
  :jndi => 'jdbc/TeradataDS',
  :username => 'dbc',
  :password => 'dbc',
  :pool => 20
}

ActiveRecord::Base.establish_connection(TERADATA_CONFIG)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
activerecord-jdbcteradata-adapter-0.5.1 spec/spec_helper.rb
activerecord-jdbcteradata-adapter-0.5.0 spec/spec_helper.rb