Sinatra has a "before" filter, but is there an easy way to implement the "after" filter?
There seems to be a patch for this.