RailsCasts Pro episodes are now free!

Learn more or hide this

Catch-all Route

#46 Catch-all Route

Jun 18, 2007 | 5 minutes | Controllers, Routing
Sometimes you need to add complex/dynamic routes. This is often impossible to do in routes.rb, but do not worry. It can be accomplished with a catch-all route. See how in this episode.
  • Download:
  • mp4Full Size H.264 Video (8.19 MB)
  • m4vSmaller H.264 Video (5.88 MB)
  • webmFull Size VP8 Video (16.3 MB)
  • ogvFull Size Theora Video (10.1 MB)