1. Technology
You can opt-out at any time. Please refer to our privacy policy for contact information.

Using Rack Middleware

By

1 of 4

Using Rack Middleware

One of Rack’s greatest features is the ability to easily plug in middleware applications. When a request makes its way through Rack to your application, it’ll first pass through each of these middleware applications on the way. Middleware apps can be either simple utility apps that do things like log requests, or something more complex like Rack::Lint, which will sanity-check your responses and throw an error if something is wrong.

©2014 About.com. All rights reserved.