There's no documentation for this item.
Source Code
# File action_controller/filters.rb, line 657 def proxy_before_and_after_filter(filter) #:nodoc: return filter unless filter_responds_to_before_and_after(filter) Proc.new do |controller, action| filter.before(controller) if controller.send!(:performed?) controller.send!(:halt_filter_chain, filter, :rendered_or_redirected) else begin action.call ensure filter.after(controller) end end end end
<code/>and<pre/>for code samples.