fix the points calculation
Reported by gaffo | October 24th, 2008 @ 04:08 PM | in 0.1
The points don't seem to be calculating correctly. One suggestion is to use a counter cache on the author_feed and possibly even put an observer on Post and Feed that fire: - when a new post is created, updating the author_feed's total points. - when the feed's points changes, update all author feeds with the new points.
This will alleviate the complexity of calculating points for users. Especially if we go many 2 many on author_feeds <> users
Comments and changes to this ticket
-
Amos King October 30th, 2008 @ 09:59 PM
- State changed from new to invalid
There are no problems that I can find.
-
gaffo October 30th, 2008 @ 10:04 PM
- State changed from invalid to open
- Assigned user set to Amos King
Amos king's blog posts are showing up as dupes.
-
Amos King October 30th, 2008 @ 10:09 PM
That happened because we removed my blog and added it back without deleting the old posts.
-
Amos King October 30th, 2008 @ 10:10 PM
- State changed from open to invalid
-
gaffo October 30th, 2008 @ 10:23 PM
There are 2 of your most recent posts at the top of your page on incento. Duplicates. Also, There is no post in the DB that doesn't have a feed.
-
Amos King October 30th, 2008 @ 10:32 PM
I just wiped it all added the data back and parsed it again. Seems to be working.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Feature Request and Bug reports for The Incentosaur