Use lambdas for Rails 3 Route Constraints 51 points by renaebair·5761 days ago·intridea.com·Show in HN
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?