lib/analysis_sr_stage_mixin.rb
# Who are the judges and how many decisions they take
Who are the judges and how many decisions they take
Who are the judges and how many decisions they take
def user_decisions(stage)
    @rs.group_users.inject({}) {|ac, usuario|
      ac[usuario.id] = {usuario: usuario, adu: AnalysisUserDecision.new(@rs.id, usuario.id, stage)}
      ac
    }
  end
def user_decisions ( stage ) @rs . group_users . inject ( { } ) { | ac , usuario | ac [ usuario . id ] = { usuario : usuario , adu : AnalysisUserDecision . new ( @rs . id , usuario . id , stage ) } ac } end
Who are the judges and how many decisions they take
Who are the judges and how many decisions they take
stage