From d37287f7e5d24fe6e86753ef879272e027d2f888 Mon Sep 17 00:00:00 2001 From: Trump Date: Thu, 14 May 2015 17:33:22 +0300 Subject: [PATCH 1/2] subscribe_to helper method w/o tag. This generates some JavaScript calling + # PrivatePub.sign with the subscription options. def tiny_subscribe_to(channel) subscription = PrivatePub.subscription(:channel => channel) raw("PrivatePub.sign(#{subscription.to_json});")