Suggestion: to extract AbstractController::Callbacks::ClassMethods (maybe to ActiveSupport). Mechanism 'before/after/around' isn't connected with controllers only. Is it? Why not to consider it with ActiveSupport::Callbacks? It will make a possibility to do your own events for 'before/after/around' wrapping... Not only controller's actions...
-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-core/-/crPF192VeugJ. 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.
