I haven't looked at the code but it seems that it's not that there are duplicates, it is the status of the relationship has changed and the feed is based on that. Not a bug so much as an oversight I think. If you stop being freinds, the feed shows three identicle recent activity listings. This doesn't show a true history, but I haven't got the code in front of me to see what's happening. In this case the relationship status should possibly be stored in the feeds table in the database.
Definitely worth fixing up. Jason On Sat, 6 Sep 2008 00:55:02 -0700 (PDT), AssimovT <[EMAIL PROTECTED]> wrote: > > I have also attached the data. Please check "!!!" marks near the rows > that are duplicate. I also understand those might be needed to enable > remaining a follower after friendship is broken ... > > http://www.pastie.org/267133 > > On Sep 6, 10:41 am, AssimovT <[EMAIL PROTECTED]> wrote: >> Actually, I have found another bug.. >> >> Consider, l have two test users, not friends yet: Peter and Mike. >> >> - Peter starts following Mike. Mike's dashboard shows: Peter is now a >> follower of Mike. >> - Mike becomes a friend with Peter. Mike's dashboard shows: Peter is >> now a friend of Mike x 2 times. And it doesn't show the previous >> feed(that he is a follower). >> >> Do you know why this is happening? >> >> Tair >> >> On Sep 1, 9:47 pm, "Steven A Bristol" <[EMAIL PROTECTED]> >> wrote: >> >> > On Fri, Aug 29, 2008 at 6:41 AM, AssimovT <[EMAIL PROTECTED]> wrote: >> >> > > Hi >> >> > > I am trying to add pagination to feed_items and have noticed that >> > > method: >> >> > > def partial >> > > item.class.name.underscore >> > > end >> >> > > sometimes returns nil, even if there is already the same type of >> > > feed_item. This causes unequal paging results. >> >> > > Is there any way to fix it? And why is it happening? >> >> > > Thanks, >> >> > > Tair. >> >> > I'm not sure why that would ever return nil. Can you give a code >> > example with data? >> >> > steve > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lovd by Less" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/lovdbyless?hl=en Who loves ya baby? -~----------~----~----~----~------~----~------~--~---
