activerecord-reputation-system icon indicating copy to clipboard operation
activerecord-reputation-system copied to clipboard

Recalculate reputation?

Open virusman opened this issue 13 years ago • 2 comments

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.

virusman avatar Dec 13 '12 13:12 virusman

Did you find a method to recalc the reputations?

bbuehrig avatar Feb 13 '14 07:02 bbuehrig

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.

virusman avatar Feb 13 '14 07:02 virusman