mcavage/node-restify — pull request #194 by williamwicks (2012-08-10 02:20:36+00:00)
Title: param name not passed to param pre-conditions

Adding a bit to the "minimal" param pre-condition. This change simply passes the param name along (like Express does) so you can have generic functions map to many param names.

Something like this...
```javascript
function id(req, res, next, name){
req.param[name] = parseInt(req.param[name], 10);
}
server.param("userid", id);
server.param("companyid", id);
```

Thanks. Keep up the great work!