private pub and websocket rails