Learning rails subdomains