Class: ErrorStalker::Store::Mongoid::ExceptionGroup

Inherits:
ExceptionGroup show all
Includes:
Mongoid::Document
Defined in:
lib/error_stalker/store/mongoid.rb

Overview

Aggregates exceptions for for the ‘recent exceptions’ list. This is way faster than mapreducing on demand, although it requires some crazy code to preload all the exceptions.

Defined Under Namespace

Classes: PaginationHelper

Instance Attribute Summary collapse

Attributes inherited from ExceptionGroup

#count, #digest, #first_timestamp, #machines, #most_recent_timestamp

Method Summary

Methods inherited from ExceptionGroup

#type

Instance Attribute Details

#most_recent_reportObject

Cache most recent report so we can preload a bunch at once



226
227
228
# File 'lib/error_stalker/store/mongoid.rb', line 226

def most_recent_report
  @most_recent_report
end