# File lib/active_resource/base.rb, line 847 def to_xml(options={}) attributes.to_xml({:root => self.class.element_name}.merge(options)) end