W3cubDocs

/Ruby on Rails 5.0

class ActiveSupport::SafeBuffer::SafeConcatError

Parent:
StandardError

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

Public Class Methods

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

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