# Need help with ActiveWarehouse-ETL-0.9.1 PG connection problem

**URL:** <https://www.ruby-forum.com/t/need-help-with-activewarehouse-etl-0-9-1-pg-connection-problem/186487>\
**Category:** Rails\
**Created:** [April 7, 2010, 8:47pm UTC](https://www.ruby-forum.com/t/need-help-with-activewarehouse-etl-0-9-1-pg-connection-problem/186487 "2010-04-07T20:47:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![byrnejb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/d2c977/32.png) [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Post date:** [April 7, 2010, 8:47pm UTC](https://www.ruby-forum.com/t/need-help-with-activewarehouse-etl-0-9-1-pg-connection-problem/186487/1 "2010-04-07T20:47:00Z")

</div>

I am trying to load conversion data into a postgresql database using  
activewarehouse-etl. I can create a flat file output from the  
conversion data without problem. However, when I try to load into the  
table using the information contained in config/database.yml I see  
this error:

/usr/lib64/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active\_record/  
base.rb:1959:in `method_missing': undefined method`postgresql\_connection’ for #Class:0x2ad8c8e90428 (NoMethodError)

Can anyone hazard a guess as to what this means, what might be causing  
it and how I might fix it? The only reference to  
`postgresql\_connection’ that I can find in AR-2.3.5 is this:

# activerecord-2.3.5/lib/active\_record/connection\_adapters/

postgresql\_adapter.rb

module ActiveRecord  
class Base  
# Establishes a connection to the database that’s used by all  
Active Record objects  
def self.postgresql\_connection(config) # :nodoc:  
config = config.symbolize\_keys  
host = config[:host]  
port = config[:port] || 5432  
username = config[:username].to\_s if config[:username]  
password = config[:password].to\_s if config[:password]  
. . .
