Class: GroupMetrics::WeeklyGoalsCount
- Inherits:
-
WeeklyCount
- Object
- ActiveRecord::Base
- WeeklyCount
- GroupMetrics::WeeklyGoalsCount
- Defined in:
- app/models/group_metrics/weekly_goals_count.rb
Overview
Tabulate count of Goals within a study week for a Group.
Class Method Summary collapse
Methods inherited from WeeklyCount
Class Method Details
.fetch(group_id) ⇒ Object
7 8 9 10 11 |
# File 'app/models/group_metrics/weekly_goals_count.rb', line 7 def self.fetch(group_id) return {} unless ActiveRecord::Base.connection.table_exists?(table_name) super end |