Sha256: f88ffbbc9186512001f8c14b75dc7b5f65613b927444bf007c5b9f3e8cd19aaa

Contents?: true

Size: 317 Bytes

Versions: 10

Compression:

Stored size: 317 Bytes

Contents

module GroupMetrics
  # Tabulate count of Comments within a study week for a Group.
  class WeeklyCommentsCount < WeeklyCount
    self.table_name = "social_networking_comments"

    def self.fetch(group_id)
      return {} unless ActiveRecord::Base.connection.table_exists?(table_name)

      super
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
think_feel_do_engine-3.19.9 app/models/group_metrics/weekly_comments_count.rb
think_feel_do_engine-3.19.8 app/models/group_metrics/weekly_comments_count.rb
think_feel_do_engine-3.19.7 app/models/group_metrics/weekly_comments_count.rb
think_feel_do_engine-3.19.6 app/models/group_metrics/weekly_comments_count.rb
think_feel_do_engine-3.19.5 app/models/group_metrics/weekly_comments_count.rb
think_feel_do_engine-3.19.4 app/models/group_metrics/weekly_comments_count.rb
think_feel_do_engine-3.19.3 app/models/group_metrics/weekly_comments_count.rb
think_feel_do_engine-3.19.2 app/models/group_metrics/weekly_comments_count.rb
think_feel_do_engine-3.19.1 app/models/group_metrics/weekly_comments_count.rb
think_feel_do_engine-3.19.0 app/models/group_metrics/weekly_comments_count.rb