I need help to connect Postgres and Ruby on Rails Please.

In config/database.yml

Host and port are unnecessary if your database is local.

development:

adapter: postgresql
database: mundo
username: usuario
password: 123456

Then run ./script/console and do
class Usuario < ActiveRecord::Base; end
Usuario.find(:all)

You should see “select * from usuarios” in your log/development.log

jeremy