How to publish from delayed_job?
Closed this issue · 1 comments
pbatorre commented
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?