# File lib/action_controller/request.rb, line 110 def domain(tld_length = 1) host.split('.').last(1 + tld_length).join('.') end