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

start with these:

http://rails.rubyonrails.com/classes/ActiveRecord/Base.html
http://wiki.rubyonrails.com/rails/pages/HowtoUseMultipleDatabases
http://groups.google.com/group/rubyonrails-talk/browse_frm/thread/9b002dee39ecb9f4?
http://blog.amber.org/2005/06/30/lost-in-multiple-rails/