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 [email protected]

Regards,

P.Gokula murthy

On Nov 19, 5:00 am, “gokul murthy” [email protected] wrote:

You can contact me on this mail id also [email protected]

Regards,

P.Gokula murthyhttp://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/

Check out a plugin called UseDB which is all about easy access to an
arbitrary number of databases within a single application. Even allows
for migrations (optional) and unit tests for all databases.

http://agilewebdevelopment.com/plugins/usedb