Thank you very much, James Adam On 10/29/05, rails-request-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org <rails-request-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org> wrote:> Date: Sat, 29 Oct 2005 09:23:05 +0100 > From: James Adam <james.adam-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > Subject: Re: [Rails] Multiple rails instances, single database > To: rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > Message-ID: > <9ec5d0aa0510290123i78bb039chdf220c0c6e89f9f7-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> > Content-Type: text/plain; charset="iso-8859-1" > > http://wrath.rubyonrails.org/pipermail/rails/2004-December/000966.html > > Check out ActiveRecord''s table_name_prefix attribute.... > > -lazy > > On 10/28/05, Peach <randompeach-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > I''m developing a rails application to aid in collaborative novel > > writing. The application defines a world view and writers write their > > own interactions with the aid of a mod...think of a healthy > > combination of a MUD and a Forum. The application is coming along fine > > on paper and I''ve already started coding. Ruby and Rails are awesome > > :) > > What I''d like to know is if there were a simple way to have multiple > > instances of rails running from a single database without them having > > to know about each other? For example, can you have table names like > > world1_objects and world2_objects? > > > > > > Thanks! > > Adam