subdomain_fu and incorrect redirection to " body You are being redirected body " page

joshuaclayton edited this page Aug 13, 2010 · 3 revisions

This is related to problem described in this ticket. We faced this problem in webrat 0.7 while using with subdomain_fu.
Solution.
Defining tld_sizes for subdomain_fu solved this problem.
Create a file called subdomain_fu.rb under config/initializers with following content.
SubdomainFu.tld_sizes = {
:development => 0, :test => 1, :production => 1, :cucumber => 1
}

Another error You have a nil object when you didn’t expect it! when using subdomain with mail url.
Solution