Skip to content
This repository has been archived by the owner on Nov 13, 2021. It is now read-only.

#evaluators_for returns wrong objects #56

Open
neilmarion opened this issue May 17, 2013 · 1 comment
Open

#evaluators_for returns wrong objects #56

neilmarion opened this issue May 17, 2013 · 1 comment

Comments

@neilmarion
Copy link

Running @answer.evaluators_for(:answer_reputation) in console

invokes

ReputationSystem::Evaluation Load (0.6ms)  SELECT "rs_evaluations".* FROM "rs_evaluations" WHERE "rs_evaluations"."target_id" = 131 AND "rs_evaluations"."target_type" = 'Answer' AND "rs_evaluations"."reputation_name" = 'answer_reputation'

It returns Evaluations not evaluators (in my case 'users') as opposed to the wiki.

@Ricardonacif
Copy link

When I call user.evaluators_for(:score), it returns al the evaluators for user. But how can I return the values that those evaluators inputed?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants