MHN
Add a comment on Hacker News →
1 of 4 comments
  1. That's pretty neat, but doesn't it make more sense to use before_filter in your controller for that stuff so that you can properly handle errors instead of showing a 404?