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
Please let me know how I can access something like the result of SimpleFeed.knowledge_feed.activity(some_user_id).paginate(page: 1).map(&:value) using my $redis variable. I'm imagining something like $redis.get "appropriate key name" or something along those lines.
The text was updated successfully, but these errors were encountered:
Not having seen your code, I don't know whether $redis is even pointing to the same Redis instance as your SimpleFeed.
But assuming you are talking to the correct Redis instance, I would say that you most likely did not call store for each and every User in your table, but perhaps you called it only for those users that have generated or received an event. Users that are not receiving any events via SimpleFeed would have NO feed created for them, i.e their feed would be nil.
Hope this helps.
Below is the image that is generated by running example file with REDIS_DEBUG variable set. Note that an "appropriate key name" is not as easy to guess since it's compacted using base62 I believe.
I've a feed with namespace
kf
and a redis instance instance$redis
.Please let me know how I can access something like the result of
SimpleFeed.knowledge_feed.activity(some_user_id).paginate(page: 1).map(&:value)
using my$redis
variable. I'm imagining something like$redis.get "appropriate key name"
or something along those lines.The text was updated successfully, but these errors were encountered: