module ActionView::Helpers::CacheHelper

def write_fragment_for(name, options, &block)

def write_fragment_for(name, options, &block)
  fragment = output_buffer.capture(&block)
  controller.write_fragment(name, fragment, options)
end