From: "list. rb" Date: 2009-05-03T12:42:40+09:00 Subject: Re: Multiple database connections --0016368e1d8a3bf45f0468f9d6ca Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit I used a multi-magic (think that was the spelling) gem a while back, worked well as a standalone & w/ rails. Good luck On Sat, May 2, 2009 at 9:10 PM, Mark Thomas wrote: > On May 2, 12:24 am, Loga Ganesan wrote: > > James Lopes wrote: > > > > > A quick question: > > > > > Say my project needs to connect to a second database, Users stored in > > > one db and data in another, How would I configure my projects > > > database.yml? > > > > > Thanks for the help. > > > > Hi , > > You can put one more database entry in either the development, > > test or production. > > First, this is a Rails question, so it is best asked on the Rails > list. > Secondly, the above advice is incorrect, which I guess proves the > first point. Each entry in database.yml is a connection. You can > create additional connections. See > http://pullmonkey.com/2008/4/21/ruby-on-rails-multiple-database-connections > > -- Mark. > > --0016368e1d8a3bf45f0468f9d6ca--