Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Connecting different database to a single application

 
Dhayalan Karunakaran
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to connect more than one database to a single application in ruby on rails
 
Rusty Shackleford
Ranch Hand
Posts: 490
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

This link also has links to other good resources.
[ June 12, 2008: Message edited by: Rusty Shackleford ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic