Exception: ActiveSupport::SafeBuffer::SafeConcatError
- Defined in:
 - lib/active_support/core_ext/string/output_safety.rb
 
Overview
Raised when ActiveSupport::SafeBuffer#safe_concat is called on unsafe buffers.
Instance Method Summary collapse
- 
  
    
      #initialize  ⇒ SafeConcatError 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of SafeConcatError.
 
Constructor Details
#initialize ⇒ SafeConcatError
Returns a new instance of SafeConcatError.
      33 34 35  | 
    
      # File '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  |