lib/roar/representer/xml.rb in roar-0.12.1 vs lib/roar/representer/xml.rb in roar-0.12.2

- old
+ new

@@ -16,10 +16,10 @@ include InstanceMethods # otherwise Representable overrides our #to_xml. end end module InstanceMethods - def to_xml(*args) + def to_node(*args) before_serialize(*args) super end # Generic entry-point for rendering.