|
|
|
@ -164,7 +164,7 @@ class ChallengesController < ApplicationController
|
|
|
|
|
|
|
|
|
|
@challenges = @shixun.challenges.joins(join_sql).select(base_columns).uniq
|
|
|
|
|
|
|
|
|
|
@shixun_modify = (@challenges.select{|c| c.status.present? }.size == @challenges.size)
|
|
|
|
|
@shixun_modify = (@challenges.select{|c| !c.status.nil? }.size == @challenges.size)
|
|
|
|
|
|
|
|
|
|
logger.info("########shixun_modify:#{@shixun_modify}")
|
|
|
|
|
logger.info("########challenges.size:#{@challenges.size}")
|
|
|
|
|