class ActiveSupport::SafeBuffer::SafeConcatError

Parent:
StandardError

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

Public Class Methods

new() Show source
# 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
Calls superclass method

© 2004–2018 David Heinemeier Hansson
Licensed under the MIT License.