add realtime socket, but I have "undefined method `action'"