wouldn't Challenge.pending.find(params[:id]) do the same thing?