Instead of having two lines, you could do:

    <% unless @seen_summary[this_work.id] || this_work.summary.blank? %>