app/controllers/meetings_controller.rb
# Computes and shows all the statistics regarding the whole Meeting.
#
# === Params:
# - id: Meeting row id.
#
# === Optional parameters:
# - team_id: used as a pass-throught parameter in the tabbed links,
#               just to highlight a specific team
#
Computes and shows all the statistics regarding the whole Meeting.
Params:
id: Meeting row id.

Optional parameters:
team_id: used as a pass-throught parameter in the tabbed links,
just to highlight a specific team
Computes and shows all the statistics regarding the whole Meeting . Params : id : Meeting row id . Optional parameters : team_id : used as a pass - throught parameter in the tabbed links just to highlight a specific team
def show_stats
    @meeting_stat_calculator = MeetingStatCalculator.new(@meeting)
    @meeting_stats = @meeting_stat_calculator.calculate
    @preselected_team_id = params[:team_id]
    @max_updated_at = get_timestamp_from_relation_chain() 
  end
def show_stats @meeting_stat_calculator = MeetingStatCalculator . new ( @meeting ) @meeting_stats = @meeting_stat_calculator . calculate @preselected_team_id = params [ :team_id ] @max_updated_at = get_timestamp_from_relation_chain ( ) end
Computes and shows all the statistics regarding the whole Meeting.
Computes and shows all the statistics regarding the whole Meeting .
# Using MeetingStat # Get a timestamp for the cache key: # default: MIR