123456789_123456789_123456789_123456789_123456789_

Exception: ActiveSupport::XMLConverter::DisallowedType

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/hash/conversions.rb

Overview

Raised if the XML contains attributes with type=“yaml” or type=“symbol”. Read Hash#from_xml for more details.

Class Method Summary

Constructor Details

.new(type) ⇒ DisallowedType

[ GitHub ]

  
# File 'activesupport/lib/active_support/core_ext/hash/conversions.rb', line 144

def initialize(type)
  super "Disallowed type attribute: #{type.inspect}"
end