Displaying 1 result from an estimated 1 matches for "ouput_buffer".
Did you mean:
output_buffer
2011 Jul 15
0
Writing test for CacheHelper
Hi,
I''m working to patch actionpack/lib/action_view/helpers/
cache_helper.rb so that it doesn''t throw when ouput_buffer isn''t
ActionView::OutputBuffer but is still html_safe. In 3-0-stable the
function contains the following if:
if output_buffer.is_a?(ActionView::OutputBuffer)
safe_output_buffer = output_buffer.to_str
fragment = safe_output_buffer.slice!(pos..-1)...