[Rails] Re: Subdomains with subdomain_fu

2009-04-04 Thread Ram
newband.mysite.net if thats the URL u want, then tld_size should be 1. newband.localhost:3000 if thats the URL you're developing with, then tld_size should be 0. tld_size = (number of dots in URL) - 1(to put it crudely) On Apr 4, 3:33 am, Petr Bobek rails-mailing-l...@andreas-s.net

[Rails] Re: Subdomains with subdomain_fu

2009-04-04 Thread Petr Bobek
Thx Ram, my production server is http://rails.mysite.com so the example should be http://newband.rails.mysite.com = tld_size 2 should be fine. Could it be the problem, that I didnt flush the cache? Or is there another problem? Thx Petr Ram wrote: newband.mysite.net if thats the URL

[Rails] Re: Subdomains with subdomain_fu

2009-04-04 Thread Ram
Hi Petr, To be very honest, I dont know whether not flushing the cache might cause trouble here. I just chipped in with what little i knew :). You could check the dev/prodn log to get a better idea of whats going on and where things get stuck. You could also disable subdomains temporarily and

[Rails] Re: Subdomains with subdomain_fu

2009-04-04 Thread Petr Bobek
Here is the log file. http://gist.github.com/90190 Cant see the trouble, but I might be wrong. Thank you. P. Ram wrote: -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[Rails] Re: Subdomains with subdomain_fu

2009-04-04 Thread Vinay Seshadri
The Sites controller index action seems fine. The image show action though, seems to search for images with weird IDs (submenu-li and account here). You should make sure that link is correct and the required parameters are passed on correctly. and the route too is generated correctly. You might