Skip to content

Instantly share code, notes, and snippets.

@guiltry
Last active August 29, 2015 14:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save guiltry/0ab7994f91399664eecb to your computer and use it in GitHub Desktop.
Save guiltry/0ab7994f91399664eecb to your computer and use it in GitHub Desktop.
$redis.publish 'realtime_msg', {
msg: 'hello world - ' + SecureRandom.hex,
recipient_user_ids: [41, 42]
}.to_json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment