I'd recommend opening the postgresql_adapter (bundle open activerecord) and add 
a debugger, pry or raise statement to @connection_parameters.  See what is 
getting passed down from your app.  It doesn't make sense for the role to be 
postgres instead of scott (role and username are fairly interchangeable with 
postgres). I'm wondering if there is a database.yml typo or if you need to set 
role in addition to username or something.

Best of luck,
Rob

On Dec 6, 2012, at 11:17 AM, Scott Olmsted <[email protected]> wrote:

> active_record/connection_adapters/postgresql_adapter.rb:1213

-- 
SD Ruby mailing list
[email protected]
http://groups.google.com/group/sdruby

Reply via email to