ActiveSupport::SafeBuffer::SafeConcatError

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.

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部