vinova/voteable_mongo — Issue #27: Saving a timestamp on votes
Author: barmstrong
Created: 2012-02-21 04:38:29+00:00
State: open

How do people feel about saving the timestamp on each vote? It would be a fairly big change, but I think this would be necessary to create functionality like "top voted this week", "top voted this month" etc.

I'm thinking of having a rake task go through and periodically calculate these on each object, summing votes for the past month or so and saving it on a separate field, but I can't think of a way to do it with the current way voteable_mongo saves the votes.

Thoughts? Thanks!