faye/faye — pull request #282 by gabriel (2014-02-25 22:31:31+00:00)
Title: Subscribe doesn't register listener if no callback

If you call @faye.subscribe("/channel/**") without a callback (block), then it doesn't get added to @channels[name], so unsubscribe doesn't work. This was the problem I was having yesterday. Sometimes I did use a block and sometimes not, which confused me.

Let me know if I can be more help here. I can write a spec but the way the specs are setup subscribe is always taking a block so...