> The patch is here: http://dev.rubyonrails.org/ticket/8891

I've forgotten why the return false was required for around filters.
Couldn't we do:

yielded = false
filter.call(self) do
  yielded = true
  # all remaining before and around filters will be run in this call
  index = call_filters(chain, index.next, nesting.next)
end
halt_filter_chain(filter) unless yielded


-- 
Cheers

Koz

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