LA Ruby Conference 2012

Rack Middleware as a General Purpose Abstraction
This presentation, by John Bender , is licensed under a Creative Commons Attribution ShareAlike 3.0
80x15

We've all seen the monolithic Rails model, pages and pages of methods all dumped into one class. Inevitably someone starts moving things around just to feel better about the loc count without making any real difference. How can we reify actions on an object and simplify our classes?

In this talk we'll examine Rack middleware as a general purpose method of object composition, see examples of it at work in Vagrant, and use these ideas to simplify an existing application.

Conference Videos


Version: 1.0 (506) by Coby Randquist on 2013-04-27