Skip to Content Skip to Search
v7.1.0
class ActiveSupport::SafeBuffer::SafeConcatError < StandardError

ActiveSupport::SafeBuffer::SafeConcatError

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

Methods
N

Public class methods

new()

Permalink
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