Skip to content

Instantly share code, notes, and snippets.

@ciaranarcher
Last active December 14, 2015 21:29
Show Gist options
  • Save ciaranarcher/5151631 to your computer and use it in GitHub Desktop.
Save ciaranarcher/5151631 to your computer and use it in GitHub Desktop.
Redis Stuff
redis_client.set('ciaran_key', [:hi, :there].to_json)
>> OK
JSON.parse(redis_client.get('ciaran_key'))
>> ["hi", "there"]
redis_client.del('ciaran_key')
>> 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment