Just a thought, why not just bake this into the around_filter spec. around_filter SomeMiddleware
On Sun, Jan 11, 2009 at 7:54 PM, David A. Black <[email protected]> wrote: > > Hi -- > > I'm curious what people here on ruby-core think of this plugin: > > git://github.com/dblack/after_middles.git > > It provides (somewhat rudimentary) Rack-based after_filter-like > functionality, so you can do things like: > > class MyMiddleware > def call > ... > end > end > > ... > > class MyController < ActionController > after_middle MyMiddleware, :only => "show" > end > > I'm working on it partly just for my own education as to the > middleware integration and its implementation, but also hoping it will > be useful and/or a speed gain, on a per-action basis. I'd love to get > some feedback. > > > David > > -- > David A. Black / Ruby Power and Light, LLC > Ruby/Rails consulting & training: http://www.rubypal.com > Coming in 2009: The Well-Grounded Rubyist (http://manning.com/black2) > > http://www.wishsight.com => Independent, social wishlist management! > > > > -- Joshua Peek --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
