ryanb / private_pub

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

How to publish from delayed_job? #78

Closed pbatorre closed 11 years ago

pbatorre commented 11 years ago

PrivatePub.publish_to("/messages/new", @message) works fine when used in a controller. However, it doesn't work when called from within a delayed_job. Is it supported at all or do I need to add code somewhere else?

jpmoral commented 11 years ago

Hi all, I'm teammates with @pbatorre. This is a non-issue, I just forgot to restart delayed_job. Sorry.