Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Ray Zane's Profile

GitHub User: rzane

Comments by Ray Zane


Don't forget .includes(:owner, :trackable)


I use request.subdomains.first rather than request.subdomain as recommended by DHH:

If you use request.subdomain and use an IP address as the URL, request.subdomain will include the IP address.