Sign in through GitHub

RailsCasts Pro episodes are now free!

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.