You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently I have an activity stream that shows users activities like in the railscasts. However I would like to be able to group certain activities into a single activity in the view.
I'll use the railscasts as an example. If a friend of mine comments on a recipe 3 times, within a given time frame, Id like for that activity to only show once in the activity stream as Ryan commented on Roast Beef. instead of that same activity showing three times in a row.
Further, it would also be nice if I could group multiple users activities into one activity in the view. For example, Ryan and 5 others commented on Roast Beef.
right now im using this scope in my activities controller
Currently I have an activity stream that shows users activities like in the railscasts. However I would like to be able to group certain activities into a single activity in the view.
I'll use the railscasts as an example. If a friend of mine comments on a recipe 3 times, within a given time frame, Id like for that activity to only show once in the activity stream as Ryan commented on Roast Beef. instead of that same activity showing three times in a row.
Further, it would also be nice if I could group multiple users activities into one activity in the view. For example, Ryan and 5 others commented on Roast Beef.
right now im using this scope in my activities controller
I'm looking for some guidance on how I should approach this, maybe someone has done this already.
I'm thinking it might be just a scope on the controller, but not completely sure how I should go about it.
Any help would be much appreciated.
The text was updated successfully, but these errors were encountered: