Welcome to Working With Rails

 

Discussion Forums

Discuss all things Ruby on Rails with perhaps the web's most vibrant group of Ruby on Rails enthusiasts.
Connecting to multiple databases
4 Posts
Connecting to multiple databases

I've got some ideas about building a system in RoR, but it will require connection to 3 separate databases (it's a front end to three existing systems). What's the best way to do this in RoR? So far I've only been able to connect to a single database by specifying it in the database configuration file. I've Googled and found some stuff about connecting to more than one, but it seemed quite messy and unwieldy and just plain not very Rails like!

Person
Forum Rating: 100
Sign In To Rate Post
4 Posts
Login to add your message