%p = history.created_at.strftime("%R") - history.alerts.each do |alert| = alert.subject = alert.summary = history.event