123456789_123456789_123456789_123456789_123456789_

Exception: ActiveSupport::SafeBuffer::SafeConcatError

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, StandardError
Instance Chain:
self, StandardError
Inherits: StandardError
  • ::Object
Defined in: activesupport/lib/active_support/core_ext/string/output_safety.rb

Overview

Raised when #safe_concat is called on unsafe buffers.

Class Method Summary

Constructor Details

.newSafeConcatError

[ 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