implement super voters

This commit is contained in:
r888888888
2016-02-22 14:02:52 -08:00
parent caf4a28b02
commit 2a87aad34e
13 changed files with 189 additions and 12 deletions

View File

@@ -17,7 +17,7 @@ class UserSimilarityPresenter
def fetch
data = report.fetch_similar_user_ids
if data == "not ready"
if data == Reports::UserSimilarity::NOT_READY_STRING
@not_ready = true
else
@user_ids_with_scores = data.scan(/\S+/).in_groups_of(2)