Posts tagged with: "routing"
Use lambdas for Rails 3 Route Constraints
I love the new constraints feature of Rails 3 routing. It opens up powerful new avenues for handling certain scenarios before a request is even delivered to the controller. One thing that bugs me, though, is that making a new class for any non-standard request-based constraint is kind of a pain. Rather than this:
1-888-968-IDEA (4332)