DanKnox/websocket-rails — pull request #23 by barock19 (2012-09-26 16:23:57+00:00)
Title: Communicate other worker type (such delayed job) to ws itself

your plugin completely awesome, but i got problem since my app have other process type, beside the web process, i have delayed_job.., i want my delayed job able to trigger the channel subscribed by client which connected by ws on different port with delayed_job, so i think. we can save the data to redis, and beside the websocket we register Thread to subscribed the redis when value stored by key 'ws' , and then trigger the ws which on same port with theard registered... ,

and now we can triggered the channel like this

WebsocketRails::Redis[:post].trigger 'new', Post.last

i was inspired by [Jesse Dearing](https://github.com/JesseDearing) on his [post](http://jessedearing.com/nodes/4-pubsubbin-with-redis-eventmachine-and-websockets)

i definitely zero about ruby , or rails.. sorry for my bad code. i wish, i can get more by you. hehehe ..