Stuck in the Middle: Leverage the power of Rack Middleware

Before a request ever hits your Rails application, it winds its way through a series of pieces of Rack middleware. Middleware sets session cookies, writes your logs, and enables the functionality in many gems such as Warden. With Rails or any Rack app, you can easily insert your own custom middleware, allowing you to log, track, redirect, and alter the incoming request before it hits your application. You will leave this talk confident in writing your own custom middleware, better able to troubleshoot gems that rely on middleware and with an understanding of how your Rails app functions.
Length: 35:17
Views 1280 Likes: 13
Recorded on 2016-05-04 at Rails Conf
Look for other videos at Rails Conf.
Tweet this video
Rails Rack