something along the lines of:
@documents_to_delete = Document.find(params[:documents_selected_on_form]) @documents_to_delete.each{|this_document| this_document.destroy}
?
something along the lines of:
@documents_to_delete = Document.find(params[:documents_selected_on_form]) @documents_to_delete.each{|this_document| this_document.destroy}
?