Forum: Ruby on Rails Rails application organization

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
jake (Guest)
on 2005-11-12 12:49
(Received via mailing list)

New to Ruby.  New to Rails.  New to web app development, quite honestly.
-really- like Rails, though.  I asked this on the comp.lang.ruby list
they sent me here!

I'm working on a new web app that would allow customers (companies) to
multiple logins which access the same database.  The question is how to
up something like this--

1. Have one instance of the app and somehow allow it to use different
databases depending on the user's login.

2. Have multiple instances of the app running on virtual servers,
similar to
how cPanel sets up accounts for multiple hosts -- each host has its own
directory, MySQL database, and so on.  Then, somehow have one "father"
app administer this higher level of hierarchy.

Any other suggestions?  My experience in setting this sort of thing up
limited -- are there any good examples of this setup that I could pull
Is this sort of thing relatively painless to do in Rails?

For example, it seems that the online store UltraCart does a similar
-- each company gets a company code "DEMO" and can have multiple users
different access permissions.

Thanks very much for any suggestions!

This topic is locked and can not be replied to.