Skip to Content Skip to Search

class ActiveSupport::SafeBuffer::SafeConcatError

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

Inherits From

Public class methods

Source code GitHub
# File activesupport/lib/active_support/core_ext/string/output_safety.rb, line 33
def initialize
  super "Could not concatenate to the buffer because it is not HTML safe."
end

Definition files