Exception: ActiveSupport::SafeBuffer::SafeConcatError

Inherits:
StandardError
  • Object
show all
Defined in:
activesupport/lib/active_support/core_ext/string/output_safety.rb

Overview

Raised when ActiveSupport::SafeBuffer#safe_concat is called on unsafe buffers.

Instance Method Summary collapse

Constructor Details

#initializeSafeConcatError


146
147
148
# File 'activesupport/lib/active_support/core_ext/string/output_safety.rb', line 146

def initialize
  super 'Could not concatenate to the buffer because it is not html safe.'
end