# File lib/mongoid/extensions.rb, line 79 def to_xml(options = nil) ActiveSupport::XmlMini.to_tag(options[:root], self.to_s, options) end