Skip to content

Instantly share code, notes, and snippets.

@jfriedlaender
Created February 20, 2013 02:30
Show Gist options
  • Save jfriedlaender/4992243 to your computer and use it in GitHub Desktop.
Save jfriedlaender/4992243 to your computer and use it in GitHub Desktop.
Pusher code that doesn't work with Unicorn
def send_cool_event
Pusher["fancy-pants-channel"].trigger_async('cool-event', pants_json)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment