ryanb / private_pub

Handle pub/sub messaging through private channels in Rails using Faye.
MIT License
864 stars 228 forks source link

PrivatePub.publish_to - Incorrect token #56

Open kaktusyaka opened 12 years ago

kaktusyaka commented 12 years ago

Hello

When I will try do this:

(rdb:1) result = PrivatePub.publish_to('/new_messages', :message => "hello")

<Net::HTTPOK 200 OK readbody=true>

(rdb:1) result.body "[{\"channel\":\"/new_messages\",\"error\":\"Incorrect token.\",\"successful\":false}]"

So PrivatePub not work for me. Any body know how to fix this issue.

Thanks!!!