PATCH - Configurable tld_length for subdomains

Hi all. I’ve submitted a lighthouse ticket + patch so you can avoid having to repeatedly tell the subdomain method on ActionDispatch::Request how many elements your TLD has.

https://rails.lighthouseapp.com/projects/8994/tickets/5215-configurable-tld_length-for-subdomains

Any thoughts? Good idea, bad idea?

Thanks,

Simon