The entire description is here : http://pastie.org/180432
Any clues? Tips?
Deepak
> From my understanding, the main issue is at the usage of "link_to" since u
> got 2 URI schemes for the same "thing"?
>
After scratching my head numerous times, I have arrived at a solution
which is not too bad. The next best alternative is to hack into ruby
routing code.
I am using the request_routing plugin and doing the following :
Using before_filter in the relevant controllers to find the site if
the access happens via subdomain.
The slightly tedious part is that my views become a bit complicated
(notice the host_port_hash function in the helper), because I have to
use the host and port hash with a LOT of url helpers. This is
something that I cant figure out how to optimise further.
Deepak
> I was just curious to know why the need for the complexity of the dual
> scheme? Is it worth it?
>
Well, if I was able to talk more about the app, I would tell you why
it is worth it :).
http://www.vaporbase.com/postings/Url_For_Subdomains
Deepak