xml.instruct! xml << render(:partial => "note", :collection => @notes)