Sha256: b1c407aedcdfdebf97571546ae33214059604fd8a6377c939b09a3e90995963b

Contents?: true

Size: 383 Bytes

Versions: 13

Compression:

Stored size: 383 Bytes

Contents

# frozen_string_literal: true
module GroupMetrics
  # Tabulate count of OnTheMindStatements within a study week for a Group.
  class WeeklyOnTheMindStatementsCount < WeeklyCount
    self.table_name = "social_networking_on_the_mind_statements"

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

      super
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
think_feel_do_engine-3.22.9 app/models/group_metrics/weekly_on_the_mind_statements_count.rb
think_feel_do_engine-3.22.8 app/models/group_metrics/weekly_on_the_mind_statements_count.rb
think_feel_do_engine-3.22.7 app/models/group_metrics/weekly_on_the_mind_statements_count.rb
think_feel_do_engine-3.22.6 app/models/group_metrics/weekly_on_the_mind_statements_count.rb
think_feel_do_engine-3.22.5 app/models/group_metrics/weekly_on_the_mind_statements_count.rb
think_feel_do_engine-3.22.4 app/models/group_metrics/weekly_on_the_mind_statements_count.rb
think_feel_do_engine-3.22.2 app/models/group_metrics/weekly_on_the_mind_statements_count.rb
think_feel_do_engine-3.22.1 app/models/group_metrics/weekly_on_the_mind_statements_count.rb
think_feel_do_engine-3.22.0 app/models/group_metrics/weekly_on_the_mind_statements_count.rb
think_feel_do_engine-3.21.2 app/models/group_metrics/weekly_on_the_mind_statements_count.rb
think_feel_do_engine-3.21.1 app/models/group_metrics/weekly_on_the_mind_statements_count.rb
think_feel_do_engine-3.21.0 app/models/group_metrics/weekly_on_the_mind_statements_count.rb
think_feel_do_engine-3.20.1 app/models/group_metrics/weekly_on_the_mind_statements_count.rb