Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Rack Middleware

#151 Rack Middleware

Mar 02, 2009 | 12 minutes | Tools, Rails 2.3, Rack
Rack middleware is a way to filter a request and response coming into your application. In this episode I show how to modify the response body using middleware.
  • Download:
  • source codeProject Files in Zip (94.7 KB)
  • mp4Full Size H.264 Video (20.3 MB)
  • m4vSmaller H.264 Video (13.4 MB)
  • webmFull Size VP8 Video (36.2 MB)
  • ogvFull Size Theora Video (28.3 MB)