Hi I am a new Rails Developer
My application_controller is:
class ApplicationController < ActionController::Base
now when I put kausik.localhost:3000 in my browser address bar it
returns blank Array  instead [‘kausik’] .
Also I rewrite etc/host file for this subdomain.
Please help me
What happens with this domain
I think in such a domain structure:
it only takes domains to the left of ‘B’ (index less than -2)
(counting from right to left). (That is for .com, .be etc.
might be automatically set to 3 for .co.uk ?).
But it can be modelled with tld_length etc.
It seems, you could do
and get everything to the left of ‘A’
and the tests: