I’m trying to setup subdomains for different accounts in my application per Ryan Bates’ instructions:
http://railscasts.com/episodes/123-subdomains-revised
Each user that registers creates an account, and when he logs into his account via his subdomain, he can type in another users subdomain and enter that user’s account.
I can provide some code if it helps, please let me know.
Thanks in advance for your help.
I have similar app you can look into it
I am not using constraint on routes instead of manipulating via controller.
https://github.com/iparam/samay