1 2 3 4 5 6 7 8 9
Nokogiri::XML::Builder.new do |xml| entry(xml, true) do author(xml) do include_author xml, @entry.account end include_entry xml, @entry end end.to_xml