hasgeek/coaster — pull request #13 by kracekumar (2012-10-08 07:31:20+00:00)
Title: Fixes Issue #12 

```
try:
query = query.filter_by(**{model.url_id_attr: int(parts[0])})
except ValueError:
abort(404)
```