Exception: ActiveSupport::XMLConverter::DisallowedType

Inherits:
StandardError
  • Object
show all
Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.4/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.

Instance Method Summary collapse

Constructor Details

#initialize(type) ⇒ DisallowedType

Returns a new instance of DisallowedType.



144
145
146
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.4/lib/active_support/core_ext/hash/conversions.rb', line 144

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