class ActionView::OutputBuffer

def <<(value)

def <<(value)
  super(value.to_s)
end

def append_if_string=(value)

def append_if_string=(value)
  if value.is_a?(String) && !value.is_a?(NonConcattingString)
    ActiveSupport::Deprecation.warn("<% %> style block helpers are deprecated. Please use <%= %>", caller)
    self << value
  end
end

def initialize(*)

def initialize(*)
  super
  encode! if encoding_aware?
end