How to handle multiple database in ruby on rails.

Hi to all,

Any can help me ...

How to handle multiple database in ruby on rails.

I have to maintain two tables on one database and i have to maintain
other 4 tables on another database.

Can you any one send me sample to code to do this please.....

You can contact me on this mail id also gokulamurthy@gmail.com

Regards,

P.Gokula murthy
http://railsthinker.blogspot.com

can you give more context about the app?