websocket-rails/websocket-rails-js — pull request #2 by awinograd (2014-12-10 22:46:27+00:00)
Title: Delete events from queue rather than set to null

Setting queue[event.id] to null was leaving the key in the queue object. On reconnect, we iterate through the keys and retrieve properties on the events without checking for null events. Rather than add that check, i've deleted the event.id key from the queue object.