- xml.description render(:partial => "description", :object => note, :formats => [ :html ])
- xml.author note.comments.first.author_name
+ xml.description render(:partial => "description", :object => note, :formats => [:html])
+
+ xml.author note.author.display_name if note.author
+