You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 13, 2021. It is now read-only.
A user is watching a video.
The user has a reputation of watched_points. Each video gives 1 point to a user when watched.
If a user receives a point from a video and then this video is removed from the system then
user.evaluators_for(:points) will return the already deleted video.
How could this evaluator be removed from the evaluators of the user?
Using delete_evaluator you need the source. But the source is already deleted.
The text was updated successfully, but these errors were encountered:
You can query the evaluator tables directly: ReputationSystem::Evaluation.all though this may skirt some of the reputation calculation system, I haven't checked or run into this scenario yet.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
A user is watching a video.
The user has a reputation of watched_points. Each video gives 1 point to a user when watched.
If a user receives a point from a video and then this video is removed from the system then
user.evaluators_for(:points) will return the already deleted video.
How could this evaluator be removed from the evaluators of the user?
Using delete_evaluator you need the source. But the source is already deleted.
The text was updated successfully, but these errors were encountered: