Skip to content

Instantly share code, notes, and snippets.

@mikepack
Created February 12, 2012 20:03
Show Gist options
  • Save mikepack/1810560 to your computer and use it in GitHub Desktop.
Save mikepack/1810560 to your computer and use it in GitHub Desktop.
REDIS.smembers('artists:1') #=> ["1","2","3"] where 1, 2 and 3 are user IDs
REDIS.smembers('users:1') #=> ["1","2","3"] where 1, 2 and 3 are artist IDs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment