RailsCasts Pro episodes are now free!

Learn more or hide this

Subdomains (revised)

#123 Subdomains (revised)

Jan 13, 2012 | 7 minutes | Routing, Rails 3.1
In Rails 3.1 subdomains are easier than ever to use. Here I show how to route a subdomain to a specific controller action, generate links, nest resources, and more.
  • Download:
  • source codeProject Files in Zip (86.1 KB)
  • mp4Full Size H.264 Video (15.9 MB)
  • m4vSmaller H.264 Video (8.29 MB)
  • webmFull Size VP8 Video (10.7 MB)
  • ogvFull Size Theora Video (18.4 MB)