Sha256: 18eb30211370ca25999768dad02a6baf9c652193e52ecf08d14c60e9543fbf4e
Contents?: true
Size: 455 Bytes
Versions: 9
Compression:
Stored size: 455 Bytes
Contents
# PivotalTracker has a bug in API v3 that breaks ActiveResource # For more info, see http://community.pivotaltracker.com/pivotal/topics/activeresource_client_throws_error class Hash class << self alias_method :from_xml_original, :from_xml def from_xml(xml) scrubbed = scrub_attributes(xml) from_xml_original(scrubbed) end def scrub_attributes(xml) xml.gsub(/<stories.*>/, "<stories type=\"array\">") end end end
Version data entries
9 entries across 9 versions & 1 rubygems