[Rails] Models on existing database?

2010-01-10 Thread Rodrigo Dellacqua
Hey there, Let's say you have a simple application, that already have a users table and you want to re-use that on a different app. How do you work with that? []'s Rodrigo Dellacqua -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To

Re: [Rails] Models on existing database?

2010-01-10 Thread bill walton
Hi Rodrigo, On Sun, 2010-01-10 at 18:01 -0200, Rodrigo Dellacqua wrote: Hey there, Let's say you have a simple application, that already have a users table and you want to re-use that on a different app. How do you work with that? As long as the database is (one of) the ones specified in

Re: [Rails] Models on existing database?

2010-01-10 Thread Rodrigo Dellacqua
Hmm.. ok. What about if you want to use multiple databases in your app? []'s Rodrigo Dellacqua On Sun, Jan 10, 2010 at 6:07 PM, bill walton bwalton...@gmail.com wrote: Hi Rodrigo, On Sun, 2010-01-10 at 18:01 -0200, Rodrigo Dellacqua wrote: Hey there, Let's say you have a simple

Re: [Rails] Models on existing database?

2010-01-10 Thread bill walton
On Sun, 2010-01-10 at 19:51 -0200, Rodrigo Dellacqua wrote: Hmm.. ok. What about if you want to use multiple databases in your app? Google is a Rails developer's best friend. The solution you're looking for depends a lot on how you want to manage your connections. Googling 'rails multiple