rails/rails — pull request #10968 by wangjohn (2013-06-16 22:53:32+00:00)
Title: Creating a class to build the default middleware stack.

A lot of logic for building the default middleware stack is currently kept in ``Rails::Application`` class, but this can be encapsulated and made more modular by being moved to its own class. Also refactored a couple of the helper methods.