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!

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to