added require for activerecord in websocket server