lib/soapy_cake/response.rb in soapy_cake-1.6.3 vs lib/soapy_cake/response.rb in soapy_cake-1.6.4
- old
+ new
@@ -31,10 +31,11 @@
end
next false if value == 'false'
next true if value == 'true'
- value
+ # cast to primitive string to get rid of Saxerator string class
+ value.to_s
end
end
def sax
@sax ||= Saxerator.parser(StringIO.new(body)) do |config|