Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

fix the points calculation

#8

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

Reported by gaffo · October 24th, 2008 @ 04:08 PM

State: invalid
Milestone: 0.1
Assigned to: Amos King Amos King

Activity

  1. Amos King
    Amos King
    • State changed from new to invalid

    There are no problems that I can find.

    October 30th, 2008 @ 09:59 PM

  2. gaffo
    gaffo
    • State changed from invalid to open
    • Assigned user set to Amos King

    Amos king's blog posts are showing up as dupes.

    October 30th, 2008 @ 10:04 PM

  3. Amos King
    Amos King

    That happened because we removed my blog and added it back without deleting the old posts.

    October 30th, 2008 @ 10:09 PM

  4. Amos King
    Amos King
    • State changed from open to invalid

    October 30th, 2008 @ 10:10 PM

  5. gaffo
    gaffo

    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.

    October 30th, 2008 @ 10:23 PM

  6. Amos King
    Amos King

    I just wiped it all added the data back and parsed it again. Seems to be working.

    October 30th, 2008 @ 10:32 PM

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.