Open virusman opened 11 years ago
Did you find a method to recalc the reputations?
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.
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.