From: Timothy Goddard Date: 2006-09-26T10:25:04+09:00 Subject: Re: using common layout in Rails Take a look at the API. You can select a base directory for the views and can probably use a full path. Failing that, a symlink could solve it. Michael P. Soulier wrote: > On 25/09/06 Timothy Goddard said: > > > Mongrel can run multiple servlets but only a single Rails app can run > > under a Ruby interpreter at once. The only way I can think of to get > > around this would be to either do this by configuring your web server, > > setting them out in physical directories, or using Why's sandbox > > library and writing your own startup scripts to encapsulate several > > Rails apps in different sandboxes. > > Is there a way to specify a common layout for multiple Rails apps? Surely > you're not constrained to just the layouts directory in the app itself, there > must be a way to pick up a common layout outside of that structure. > > Mike > -- > Michael P. Soulier > "Any intelligent fool can make things bigger and more complex... It > takes a touch of genius - and a lot of courage to move in the opposite > direction." --Albert Einstein > > --dDnEQgWzhgf+8aPe > Content-Type: application/pgp-signature > X-Google-AttachSize: 190