Rack middleware for current code revision