File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Connecting different database to a single application
Joined: Jun 11, 2008
Jun 12, 2008 00:10:00
How to connect more than one database to a single application in ruby on rails
I.J.K.Dhayalan MCA,<br />Software Engineer.
Joined: Jan 03, 2006
Jun 12, 2008 00:50:00
You can set different databases in the Model classes that need it. It isn't as elegant as other parts of Rails, but isn't too bad.
also has links to other good resources.
[ June 12, 2008: Message edited by: Rusty Shackleford ]
"Computer science is no more about computers than astronomy is about telescopes" - Edsger Dijkstra
I agree. Here's the link:
subject: Connecting different database to a single application
one DAO querying 2 tables? (Spring security, user & auth)
discarding database roundtrips
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015