<% if activity.direct_activity_object.blank? || activity.direct_activity_object.comment_count > 0 %> <%= render activity.comments %> <% end %>