Hi. I was wondering how to do this in rails where the user gets a subdomain in the link of the site. example: username.tadalist.com Or if you know of a reference, please point me to it. Thanks -- Posted via http://www.ruby-forum.com/.
Dominic Son wrote:> Hi. I was wondering how to do this in rails where the user gets a > subdomain in the link of the site. > > example: username.tadalist.com > > Or if you know of a reference, please point me to it. > > ThanksThe solution is to use wildcard DNS (*.tadalist.com) and the account_location plugin. I''m planning on writing an article on customizing the plugin for specific uses, but the source file itself is pretty informative. Just google for it. -- Posted via http://www.ruby-forum.com/.
Bryan Duxbury wrote:> Dominic Son wrote: >> Hi. I was wondering how to do this in rails where the user gets a >> subdomain in the link of the site. >> >> example: username.tadalist.com >> >> Or if you know of a reference, please point me to it. >> >> Thanks > > The solution is to use wildcard DNS (*.tadalist.com) and the > account_location plugin. I''m planning on writing an article on > customizing the plugin for specific uses, but the source file itself is > pretty informative. Just google for it.Hi Bryan, do you have a website / mailing list as to when your article will be written? I''d really like to read it. Thanks for the reply Dominic -- Posted via http://www.ruby-forum.com/.