How to add Postgresql user & pasword details

Hi Groups!
I am running Ruby on Rails on Red Hat Es 3 with Postgresql.
to do that I install PgSQL & Ruby from source code
working properly.

then Install rubygems from source code.
working properly.

then Install gems [for postgresql] from source code.
install properly.

install RAILS, working properly with apache server.
*****showing the page -> Welcome aboard
[with the link -> About your application's environment ] working
properly*********

->>>>that means Ruby on Rails is working.

Now I need to connect RnR with PgSQL.

how to connect that [on which file I need to edit ]
If I go for to create a very small [2-5] page project, what I need to do.

Thanks in Advance.

jatrojoomla wrote:

Hi Groups!
I am running Ruby on Rails on Red Hat Es 3 with Postgresql.
to do that I install PgSQL & Ruby from source code
working properly.

then Install rubygems from source code.
working properly.

then Install gems [for postgresql] from source code.
install properly.

install RAILS, working properly with apache server.
*****showing the page -> Welcome aboard
[with the link -> About your application's environment ] working
properly*********

->>>>that means Ruby on Rails is working.

Now I need to connect RnR with PgSQL.
>>>>>>>>>>>>>>>>>>how to connect that [on which file I need to edit ]
>>>>>>>>>>>>>>>>>>If I go for to create a very small [2-5] page project, what I need to do.

Thanks in Advance.

config/database.yml