gowalla/chronologic — Issue #9: Question about use case
Author: gitt
Created: 2011-11-06 08:03:18+00:00
State: open

I've been utilizing a gem called timeline_fu to collect events on certain models. This gem however, doesn't handle any returns of the data, and I've had to write a ridiculous query to fetch it all in the manner I need it. I've got a use case like the following:

News Feed Example:

``` text
Mike Uploaded 2 Images: - 30 seconds ago

Joe Added Sue to the Project - 5 minutes ago

Joe Uploaded 15 images: - 5 minutes ago

Joe Added Mike to the Project - Yesterday
```

Each event is it's own record, and each image in an event it's also it's own record. Currently, I have to run a very nasty query to merge things like upload events per user to a single feed item. My question is, does chronologic handle anything like this, or, if not would it be worth trying to add it in as opposed to crazy database vendor specific sql queries?