:nodoc
convert
76 77 78
# File 'lib/mongoid/extensions.rb', line 76 def as_json(options = nil) to_s end
79 80 81
# File 'lib/mongoid/extensions.rb', line 79 def to_xml(options = nil) ActiveSupport::XmlMini.to_tag(options[:root], self.to_s, options) end