Hi This is a implementation question. I have to do my rails application as a SaaS application. So the working is like a general site will be there say example.com . Suppose a user say user1 registers to use this service. So in the registration page there is a text box to select the unique url And he chose it as site1.example.com After he clicks save he is redirected to site1.example.com My first question is how this situation is handled in rails I am working in linux.
This user is now onwards responsible for creating other users etc. So he is the super user of site1 Similrly when next user comes it is site2 etc..
My second question is is this be seperated in to an admin name space?Why i am asking this is after login all users whtrger they are admin or normal user redirect to a dashboard which is the home page.There certain links will be availabe to admin or the staff which are given permission to do so from admin.
I am just starting the application. Please guide me through the proper railsway
Thanks Tom