Class: Whoops::EventGroup

Inherits:
Object
  • Object
show all
Includes:
FieldNames, Mongoid::Document
Defined in:
app/models/whoops/event_group.rb

Class Method Summary collapse

Class Method Details

.identifying_fieldsObject



25
26
27
# File 'app/models/whoops/event_group.rb', line 25

def self.identifying_fields
  field_names - ["message", "last_recorded_at"]
end

.servicesObject

Returns sorted set of all applicable namespaces.

Returns:

  • sorted set of all applicable namespaces



30
31
32
# File 'app/models/whoops/event_group.rb', line 30

def self.services
  all.distinct(:service).sort
end