Skip to content

Instantly share code, notes, and snippets.

@sinefunc
Created July 6, 2010 14:46
Show Gist options
  • Save sinefunc/465473 to your computer and use it in GitHub Desktop.
Save sinefunc/465473 to your computer and use it in GitHub Desktop.
# doing class level key operations
Person.key[:top_voted].zadd 10, 1 # ZADD Person:top_voted 10 1
Person.key[:top_voted].zadd 11, 2 # ZADD Person:top_voted 11 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment