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.
Is there a method to recalculate reputation for a given object?
I've been having issues with STI support (add_or_update_evaluation was previously updating the subclass reputation, while reputation_for is now returning the base class reputation or something else), but anyway, I now have two reputations for every STI object: one for the subclass, one for the base class, and they're both inaccurate, so I need to recalculate reputations somehow. I haven't found anything in the API, both public and private.
Also, STI behavior seems inconsistent: previously it wasn't using the base STI class at all, now it uses the base class for reputations, while still using the subclass name for evaluations.
The text was updated successfully, but these errors were encountered:
I'm not working on that project anymore, I think we had to do a migration for that and then removed activerecord-reputation-system from the project, replacing it with our own implementation of a reputation system.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Is there a method to recalculate reputation for a given object?
I've been having issues with STI support (add_or_update_evaluation was previously updating the subclass reputation, while reputation_for is now returning the base class reputation or something else), but anyway, I now have two reputations for every STI object: one for the subclass, one for the base class, and they're both inaccurate, so I need to recalculate reputations somehow. I haven't found anything in the API, both public and private.
Also, STI behavior seems inconsistent: previously it wasn't using the base STI class at all, now it uses the base class for reputations, while still using the subclass name for evaluations.
The text was updated successfully, but these errors were encountered: