i would like to use socket.io along with Geddy. I just followed the instructions in the below link:
https://github.com/mde/geddy/wiki/Getting-started-with-Geddy,-Socket.io,-and-Authentication
Suggest me how to catch the 'connection' event on specific model in server-side.
Also find below the glimpse of what i have did so far with this model...
geddy scaffold -rt LiveUpdate stat:string category:string
And found the following auto-generated scripts related to socket.io in "show.html.ejs" of
geddy.io.addListenersForModels(['LiveUpdate']);
geddy.model.LiveUpdate.on('update', function (chat) {
....
What i actually need is to know how to catch or emit events for this model from the server-side.